Page MenuHomePhabricator

Quoted text in unbinerized mission description is cut off.
Reviewed, NormalPublic

Description

http://imgur.com/a/F4HpY

If a mission description has quotes in it with an unbinarized mission.sqm, the description is cut off at the quotes.

Details

Severity
Minor
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General
Steps To Reproduce
  1. Create a new mission. Unbinarize the mission.sqm, give it a description with quotes, and save the mission.
  2. Exit to the title screen (needed to refresh the mission list), go back to the mission select menu, and select your new mission.
  3. The overview description will be cut off at the quote.

Event Timeline

I'm pretty sure non-binarized files have to have all instances of double quotes encased in double quotes.

(i.e, 'Wow look at this ""quoted text"" right here')

Alwin claimed this task.Feb 15 2017, 3:30 PM
Alwin changed the task status from New to Reviewed.

@Gnashes

This doesn't apply to other fields in the 3d editor. For example, you can put in the exact same string for the Multiplayer mission description and it won't be cut off.

And in general, character escaping should be handled by the UI unless there's a reason not to.