bonus2: support html ' char
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@242 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
parent
b8601d3e07
commit
71fbcb01ba
1 changed files with 2 additions and 2 deletions
|
@ -302,7 +302,7 @@ class HtmlToLatexWriter(private var content: String, private val singlePage: Boo
|
|||
"\\usepackage[margin=2cm]{geometry}\n" +
|
||||
"\\usepackage{hyperref}"
|
||||
|
||||
private val HTML_SPECIALS_FROM = arrayOf("&", "<", ">")
|
||||
private val HTML_SPECIALS_TO = arrayOf("\\&", "\\textless ", "\\textgreater ")
|
||||
private val HTML_SPECIALS_FROM = arrayOf("&", "<", ">", "'")
|
||||
private val HTML_SPECIALS_TO = arrayOf("\\&", "\\textless ", "\\textgreater ", "\'")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue