This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Syntax highlighting confused by JSTL replace pattern #83
Open
Description
Description
The syntax highlighting for JavaServer Pages is being thrown off by a JSTL string replace pattern that consists of an escaped single quote:
<c:set var="foo" value="${fn:replace(entry.name, '\\'', ''')}" />
<c:set var="bar" value="test" />
The problem is with the '\\''
segment.
Steps to Reproduce
- Open a new editor tab and set the language to JavaServer Pages
- Paste in the lines above
Expected behavior: [What you expect to happen]
The syntax highlighting rules should catch the mismatched single quotes and ignore them.
Actual behavior: [What actually happens]
The odd number of single quotes confuses the syntax highlighter, and it treats any successive lines in the file as being string values.
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
Atom 1.15.0 x64
Running on OS X 10.11.6