Page MenuHomeDevCentral

Be more highlight friendly
ClosedPublic

Authored by dereckson on Feb 17 2018, 21:13.
Tags
None
Referenced Files
F47722155: D1324.diff
Tue, Sep 1, 22:53
Unknown Object (File)
Sun, Aug 30, 06:12
Unknown Object (File)
Tue, Aug 25, 22:50
Unknown Object (File)
Tue, Aug 25, 07:32
Unknown Object (File)
Mon, Aug 24, 19:25
Unknown Object (File)
Mon, Aug 24, 15:01
Unknown Object (File)
Sat, Aug 22, 17:38
Unknown Object (File)
Thu, Aug 20, 10:53
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.