Closed GomezIvann closed 6 months ago
I see 2 possible approaches here:
I honestly think that the second approach would be more appropiate.
I agree, the second option is the best one. But first, we need to discuss the tags that we want to allow.
I suggested a list of allowed tags in the additional context of the PR (#1765). We can create a discussion related to it if needed.
This issue is stale because it has been open for 15 days with no activity. If there are no further updates or modifications within the next 15 days, it will be automatically closed.
Describe the bug Some HTML tags we consider valid for
as
prop of the DxcTypography component are not so. For example, the tags<br />
and<col />
do not have children, both in HTML and React, which is causing our component to break. We need to restrict the possible values of this prop.