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

pull/40/head
Alexander Smorkalov 13 years ago
parent 006a4ba529
commit 9ad5fd709b
  1. 2
      modules/java/generator/rst_parser.py

@ -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)

Loading…
Cancel
Save