diff --git a/src/docgen/HtmlDoc.py b/src/docgen/HtmlDoc.py index b540d952c..369aa680e 100644 --- a/src/docgen/HtmlDoc.py +++ b/src/docgen/HtmlDoc.py @@ -408,6 +408,8 @@ class HtmlDoc(TextDoc.TextDoc): text = string.replace(text,'<','<'); text = string.replace(text,'>','>'); text = string.replace(text,'\n','
') + text = text.replace('<super>','') + text = text.replace('</super>','') if text != "": self.empty = 0 self.f.write(text) diff --git a/src/docgen/LaTeXDoc.py b/src/docgen/LaTeXDoc.py index 5fb5317a6..ad45b8ef7 100644 --- a/src/docgen/LaTeXDoc.py +++ b/src/docgen/LaTeXDoc.py @@ -381,6 +381,8 @@ class LaTeXDoc(TextDoc.TextDoc): if text == '\n': text = '\\newline\n' text = string.replace(text,'#','\#') + text = text.replace('','\\textsuperscript{') + text = text.replace('','}') self.f.write(text)