martijnversluis/ChordSheetJS

`ChordProParser` throws an error if lyrics contain a `%` character

Closed this issue · 2 comments

I currently get a parsing error if the chord sheet has a % symbol.

See here: https://www.chordpro.org/chordpro/directives-env_grid/

Actually, it turns out it wasn't the % character in the grid, but rather a % I had in the lyrics. Here's the exact error message:

Uncaught PeggySyntaxError: Expected "#", "%{", "[", "[*", "\\", "\r", "]", "{", "|", "}", [\n,\r], [^|,[,\],\\,{,},%,#,\r,\n,\t, ], end of input, or space but "%" found.

Hey @edonv I just released 10.6.2 which addresses the parsing error when encountering % in lyrics. Please let me know if that solves your issue 👍