diff --git a/utils/convert_to_chordpro/latex_grammar.txt b/utils/convert_to_chordpro/latex_grammar.txt index c1457ea6..e3554bb2 100644 --- a/utils/convert_to_chordpro/latex_grammar.txt +++ b/utils/convert_to_chordpro/latex_grammar.txt @@ -99,7 +99,8 @@ safe_text = content:nonlatex_char+ {return content.join("")} nonlatex_char - = [^\\\n\r{}$%\[\]] + = [^\\\n\r{}$%\[\]~] + / "~" { return " "} inline_command = "\\dots {" content:inline_text "}" {return "..." + content}