fixed Hashtag causing tex gen issues
This commit is contained in:
parent
11059d08f0
commit
53bade28e9
1 changed files with 1 additions and 0 deletions
|
@ -163,6 +163,7 @@ public class TeXUtil {
|
|||
|
||||
// Format tex string to UTF-8
|
||||
tex = new String(tex.getBytes("UTF-8"));
|
||||
tex = tex.replaceAll("#", "\\\\#"); // Replace all # with \#
|
||||
tex = tex.replaceAll("[^\\x00-\\x7F]", ""); // Replace all non-ASCII characters
|
||||
|
||||
// Local datetime stamp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue