Skip to content

CollectionOverview: HTML entities (­  ) are shown #4350

@gu-stav

Description

@gu-stav

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions