Strings that start with the pound character (#) are not properly highlighted when they are part of a YAML block created using either (|) or (>):
(Screenshot: yaml-mode / Emacs)
This bug can make it difficult for users to distinguish between comments that are part of a block and those that are not.
Expected result
It is expected that all strings within a YAML block should be uniformly highlighted, regardless of whether they begin with the pound (#) character or not:
(Screenshot from another editor)
Issue
Strings that start with the pound character (
#
) are not properly highlighted when they are part of a YAML block created using either (|
) or (>
): (Screenshot: yaml-mode / Emacs)This bug can make it difficult for users to distinguish between comments that are part of a block and those that are not.
Expected result
It is expected that all strings within a YAML block should be uniformly highlighted, regardless of whether they begin with the pound (
#
) character or not: (Screenshot from another editor)Environment