Page MenuHomeDevCentral

Be more highlight friendly
ClosedPublic

Authored by dereckson on Feb 17 2018, 21:13.
Tags
None
Referenced Files
F21136234: D1324.diff
Sat, Jan 17, 14:44
Unknown Object (File)
Thu, Jan 15, 08:59
Unknown Object (File)
Wed, Jan 14, 22:48
Unknown Object (File)
Sun, Jan 11, 09:58
Unknown Object (File)
Sat, Jan 10, 01:48
Unknown Object (File)
Fri, Jan 9, 14:26
Unknown Object (File)
Fri, Jan 9, 12:30
Unknown Object (File)
Thu, Jan 8, 10:05
Subscribers

Details

Summary

Some editors (nano, Atom) struggle with a single double quote
enclosed in a {} block.

This change escapes more traditionally the double quote to avoid them
to correctly highlight the source code in Core.

PEP 20

"Although practicality beats purity."

Test Plan

xmlescape {"a"} returns "a".

Diff Detail

Repository
rVIPER ViperServ scripts
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
fix-highlight (branched from master)
Build Status
Buildable 2092
Build 2340: arc lint + arc unit

Event Timeline

dereckson created this revision.

Thanks @xcombelle for the citation.

This revision is now accepted and ready to land.Feb 17 2018, 21:16
This revision was automatically updated to reflect the committed changes.