You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using special characters like ' or german Umlauts in the Comment fields in Web UI, these characters are translated into HTML notation like ' whenever you edit an existing line. Items are added correctly but comments get broken when you edit the lines.
Example:
Versions:
Core
Version is 3f5c009 (Latest: null)
Branch is development
Hash is 3f5c0091 (Latest: 3f5c0091)
Web
Version is ffdffbc (Latest: null)
Branch is development
Hash is ffdffbc2 (Latest: ffdffbc2)
FTL
Version is vDev-27bea5b (Latest: null)
Branch is development
Hash is 27bea5b0 (Latest: 27bea5b0)
The text was updated successfully, but these errors were encountered:
When using special characters like ' or german Umlauts ...
Are you sure other characters are replaced?
(Did you use Ä or Ü in the typed text?)
I can replicate only the apostrophe (') issue, but the other characters I tested (like accented letters and umlauts) are not changed.
The apostrophe/quotes issue is happening because we are using the escapeHtml() function every time the field is edited.
This function replaces ' with the HTML entity '.
It also replaces & with &. This is causing double (triple and so on...) encoding:
I first saw it on the apostrophe, that's correct and after some changes, I also saw that the whole text was broken.
This might be caused by the multiple encodings of the & and not by the umlaut itself.
When using special characters like ' or german Umlauts in the Comment fields in Web UI, these characters are translated into HTML notation like ' whenever you edit an existing line. Items are added correctly but comments get broken when you edit the lines.
Example:

Versions:
The text was updated successfully, but these errors were encountered: