Fixed Javadoc problems with ">" and "<" symbols.

This commit is contained in:
Alexander Smorkalov 2012-10-10 13:28:26 +04:00
parent 006a4ba529
commit 9ad5fd709b

View File

@ -655,6 +655,8 @@ def mathReplace(match):
m = match.group(1)
m = m.replace("\n", "<BR>")
m = m.replace("<", "&lt")
m = m.replace(">", "&gt")
m = re.sub(r"\\text(tt|rm)?{(.*?)}", "\\2", m)
m = re.sub(r"\\mbox{(.*?)}", "\\1", m)
m = re.sub(r"\\mathrm{(.*?)}", "\\1", m)