Review main Merged

64511[BUGFIX] Correctly double and single quotes in page tree tooltips

Christian Eßl CR +2 V +2 Easy +4 −1 updated 11/15/21, 09:05

Commit message

There were several problems with tooltips in the page tree:

- htmlspecialchars was applied twice to the tooltip string. Once in
BackendUtility::titleAttribForPages, once in TreeController.
- When applying double or single quotes to a page title, the tooltips in
the page tree would show these as html entities.

Double and single quotes are now allowed, while any potential html tags
in the title will be stripped from the tooltip. Any of those characters
(", ', <, >) left in the tooltip are later escaped to unicode in the
json view.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1