Open EpicEricEE opened 2 months ago
Can reproduce this on CodeMirror Try.
This is with @codemirror/legacy-modes/mode/yaml
. I don't remember why we use the legacy mode, but the non-legacy mode doesn't highlight either string, instead coloring >
and >-
in red.
Description
Only a very minor thing, but when using block chomping indicators (e.g.
>-
or|-
) to trim trailing line breaks from multiline strings, the syntax highlighter fails to highlight the string correctly:Reproduction URL
No response
Browsers
Chrome
OS
Windows