Issue Bug Closed

#99160wrong ordering of nl2br & htmlspecialchars

Georg Ringer 11/22/22, 10:37 updated 02/08/23, 16:04

Description

As shown in the screenshot, there is a wrong ordering of the viewhelpers f:format.nl2br and f:format.htmlspecialchars. nl2br must be applied at the end because otherwise the <br> tag will be escaped

clipboard-202211221135-qelq6.png

Reviews 2

Files 1

History 28

  1. Gerrit Code Review pushed patch set 1 for main to change 76766 status Accepted Under Review 11/22/22, 10:39

  2. Gerrit Code Review pushed patch set 2 for main to change 76766 11/22/22, 10:40

  3. Gerrit Code Review pushed patch set 3 for main to change 76766 11/22/22, 11:48

  4. Gerrit Code Review pushed patch set 4 for main to change 76766 11/22/22, 12:05

  5. Gerrit Code Review pushed patch set 1 for 11.5 to change 76774 11/22/22, 21:17

  6. Gerrit Code Review pushed patch set 2 for 11.5 to change 76774 11/22/22, 21:26

  7. Georg Ringer commented and changed status Under Review Resolved done 0 % 100 % 11/22/22, 21:40

    Applied in changeset commit:ad8130a771e6adea6c12f85a0d16b2f65c261fce.

  8. Benni Mack changed status Resolved Closed 02/08/23, 16:04