Skip to content

Allow <em> tag in sanitized HTML.#1060

Merged
demiankatz merged 1 commit into
devfrom
demiankatz-patch-1
Jul 17, 2024
Merged

Allow <em> tag in sanitized HTML.#1060
demiankatz merged 1 commit into
devfrom
demiankatz-patch-1

Conversation

@demiankatz

@demiankatz demiankatz commented Jul 16, 2024

Copy link
Copy Markdown
Contributor

The UV currently allows <i> tags but not <em> tags in sanitized HTML descriptions. Since we also support both <b> and <strong> it seems to make sense to add <em> for completeness.

You can use https://digital.library.villanova.edu/Item/vudl:472287/Manifest as an example manifest to see the difference: in current UV, the <em> tags show through in the description. In this branch, they are properly italicized.

@vercel

vercel Bot commented Jul 16, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
universalviewer βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Jul 16, 2024 5:31pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Completed

Development

Successfully merging this pull request may close these issues.

1 participant