Commit 9ad5fd70 authored by Alexander Smorkalov's avatar Alexander Smorkalov

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

parent 006a4ba5
...@@ -655,6 +655,8 @@ def mathReplace(match): ...@@ -655,6 +655,8 @@ def mathReplace(match):
m = match.group(1) m = match.group(1)
m = m.replace("\n", "<BR>") 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"\\text(tt|rm)?{(.*?)}", "\\2", m)
m = re.sub(r"\\mbox{(.*?)}", "\\1", m) m = re.sub(r"\\mbox{(.*?)}", "\\1", m)
m = re.sub(r"\\mathrm{(.*?)}", "\\1", m) m = re.sub(r"\\mathrm{(.*?)}", "\\1", m)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment