Problem:
Triple quoted strings with HTML markup inside are breaking highlighting.
For example, the following code will be highlighted incorrectly:
def aMultilineString = """
<a href="http://example.com">Example</a>
"""
println aMultilineString
Fix:
Triple-quotes literals should be added to "groovy.xml":
<!-- Triple-quotes -->
<SPAN TYPE="LITERAL1" DELEGATE="LITERAL">
<BEGIN>"""</BEGIN>
<END>"""</END>
</SPAN>
<SPAN TYPE="LITERAL1">
<BEGIN>'''</BEGIN>
<END>'''</END>
</SPAN>
Submitted | egor_abramovich - 2018-06-19 14:45:42.485000 | Assigned | ezust |
---|---|---|---|
Priority | 5 | Labels | |
Status | open | Group | |
Resolution | None |
2018-06-19 14:48:48.620000 egor_abramovich |
Let me put code example again:
|
---|---|
2019-02-10 00:28:58.568000 ezust |
- **assigned_to**: Alan Ezust |