mirror of
https://github.com/opencv/opencv.git
synced 2025-06-08 18:13:13 +08:00
Fixed Javadoc problems with ">" and "<" symbols.
This commit is contained in:
parent
006a4ba529
commit
9ad5fd709b
@ -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("<", "<")
|
||||||
|
m = m.replace(">", ">")
|
||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user