Rules: comments: Fix bug when multi-line scalar
YAML content like the following one produced an error, because the
ScalarToken associated whose value is "this is plain text" ends at the
beginning of the 5th line (the one with the comment):
---
string: >
this is plain text
# comment
pull/4/head
parent
6a24781f96
commit
847f7e3fff
Loading…
Reference in New Issue