Skip to content

Commit

Permalink
XWIKI-22433: Provide consistency in info / warning / error class usag…
Browse files Browse the repository at this point in the history
…es in templates

* Part F
* Escaped the errorMessage
* removed the useless HTML macro.
  • Loading branch information
Sereza7 committed Dec 9, 2024
1 parent 3e3ddb8 commit 8d2d174
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,7 @@
#updateAndSaveIcon()
#if ($action == 'save')
#if ($errorMessage)

{{error}}{{html clean="false"}}$errorMessage{{/html}}{/error}}

{{error}}$!escapetool.xml($errorMessage){/error}}
#else
## Redirect to view mode.
$response.sendRedirect($doc.getURL())
Expand Down

0 comments on commit 8d2d174

Please sign in to comment.