Closed xsgordon closed 11 years ago
It's the command tag that triggers this behaviour.
On Thursday, May 30, 2013, Steve Gordon wrote:
When presented with a construct such as rm -rf /* the syntax highlighter colors the closing element in red (invalid). This doesn't impact on actual\ validation/saving but is visually distracting. Because the syntax highlighter appears to consider this invalid also tends to mark trailing elements in the same fashion, for instance in this block:
The volume storage service makes use of the SCSI target daemon, tgtd , when mounting storage. To support this thetgtd service must be configured to read additional configuration files.Both of the closing elements and the closing appear in red in the editor, presumably because the syntax highlight considers the construct to still be open.
— Reply to this email directly or view it on GitHubhttps://github.com/jwulf/press-star/issues/40 .
When presented with a construct such as <command>rm -rf /</command> the syntax highlighter colors the closing element in red (invalid). This doesn't impact on *actual validation/saving but is visually distracting. Because the syntax highlighter appears to consider this invalid also tends to mark trailing elements in the same fashion, for instance in this block:
Both of the closing </command> elements and the closing </para> appear in red in the editor, presumably because the syntax highlight considers the <command> construct to still be open.