Browse Source

~ is converted to nonbreakable space

chordpro_js
Oliverpool 10 years ago
parent
commit
cbcb2f95a8
  1. 3
      utils/convert_to_chordpro/latex_grammar.txt

3
utils/convert_to_chordpro/latex_grammar.txt

@ -99,7 +99,8 @@ safe_text
= content:nonlatex_char+ {return content.join("")} = content:nonlatex_char+ {return content.join("")}
nonlatex_char nonlatex_char
= [^\\\n\r{}$%\[\]] = [^\\\n\r{}$%\[\]~]
/ "~" { return " "}
inline_command inline_command
= "\\dots {" content:inline_text "}" {return "..." + content} = "\\dots {" content:inline_text "}" {return "..." + content}

Loading…
Cancel
Save