Description
With fix for WICKET-1054 Wicket (almost) stopped escaping non-ASCII symbols by default, it calls Strings.escapeMarkup(String) or Strings.escapeMarkup(String, false, false).
However, there are still some places that also call Strings.escapeMarkup with different args.
I used "Strings.escapeMarkup(.*, false, true)" regex to find them:
AbstractChoice.escapeOptionHtml,
CheckBoxMultipleChoice.onComponentTagBody (the reason i started to dig into this issue)
RadioChoice.onComponentTagBody
They should either call String.escapeMarkup(String) or even use Component.getDefaultModelObjectAsString
Attachments
Issue Links
- is related to
-
WICKET-1900 Implement isEscapeLabalMarkup for RadioChoice
- Closed