LaTeX backend: add # to list of characters requiring backslash-escaping

pull/190/head v1.3
Russ Ross 2015-07-20 13:48:36 -06:00
parent 386ef80f18
commit 8cec3a854e
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ func (options *Latex) FootnoteRef(out *bytes.Buffer, ref []byte, id int) {
}
func needsBackslash(c byte) bool {
for _, r := range []byte("_{}%$&\\~") {
for _, r := range []byte("_{}%$&\\~#") {
if c == r {
return true
}