Opened 10 years ago

Closed 9 years ago

#2480 closed defect (fixed)

Fix escaping of GUI text

Reported by: sanderd17 Owned by:
Priority: Should Have Milestone: Alpha 18
Component: Core engine Keywords:
Cc: Patch:

Description

Putting double quotes in tooltips (s.a. the civinfo tooltips) isn't possible as CParser doesn't recognise the backslash as an escape character.

For the localisation, we allowed HTML style escaping as a temporary measure, but ideally, the CGUIString::SetValue() method should be updated to work without CParser and to recognise the backlash as an escape character for quotes, brackets and other special chars.

Change History (1)

comment:1 by leper, 9 years ago

Milestone: BacklogAlpha 18
Resolution: fixed
Status: newclosed

Fixed in r15969 and r16043.

Note: See TracTickets for help on using tickets.