Page MenuHomeDevCentral

Be more highlight friendly
ClosedPublic

Authored by dereckson on Feb 17 2018, 21:13.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 1, 05:18
Unknown Object (File)
Mon, Apr 28, 18:03
Unknown Object (File)
Sun, Apr 27, 18:50
Unknown Object (File)
Sat, Apr 26, 13:14
Unknown Object (File)
Fri, Apr 25, 21:50
Unknown Object (File)
Fri, Apr 25, 12:06
Unknown Object (File)
Wed, Apr 23, 19:22
Unknown Object (File)
Mon, Apr 21, 20:43
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
Lint Not Applicable
Unit
Tests Not Applicable

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.