Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CollectionOverview: HTML entities (­  ) are shown #4350

Open
gu-stav opened this issue Sep 21, 2020 · 1 comment
Open

CollectionOverview: HTML entities (­  ) are shown #4350

gu-stav opened this issue Sep 21, 2020 · 1 comment

Comments

@gu-stav
Copy link

gu-stav commented Sep 21, 2020

Describe the bug

&shys are often used to help browsers hyphenate long words, when they break your CSS styles. They shouldn't be rendered in the collection overview, I believe. Since I'm not sure I'd like to ask for direction here. If you agree the titles should be rendered with dangerouslySetInnerHTML, I'm happy to make that change.

To Reproduce

  1. Create a new collection
  2. Create a collection item
  3. Use a HTML entity like ­ or   in the field that was defined as a title

Expected behavior

HTML entities should be rendered, so they aren't visible.

Screenshots

Screenshot from 2020-09-21 09-36-32

Applicable Versions:

any

@gu-stav gu-stav added the type: bug code to address defects in shipped code label Sep 21, 2020
@erezrokah
Copy link
Contributor

Thanks for opening this @gustavpursche, it would be nice to handle this as a part of #2868 (comment).

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

No branches or pull requests

3 participants