summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-01-19 17:45:26 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-01-19 17:45:26 (GMT)
commitbf1e768aa86ac5cbca5de4510469dd98334973df (patch)
tree98aae2ca26032cdab2de5ffde7ca08cd682e406e /doc
parentfa28a4a9e53ba87035666680295273f36b237e19 (diff)
downloadDoxygen-bf1e768aa86ac5cbca5de4510469dd98334973df.zip
Doxygen-bf1e768aa86ac5cbca5de4510469dd98334973df.tar.gz
Doxygen-bf1e768aa86ac5cbca5de4510469dd98334973df.tar.bz2
issue #6781 Unable to use math in markdown table headers
Due to the change of the place where the markdown processing is done the end of the line must be calculated a little bit differently. Note: translator.py gave an error due to a strange indentation (did surface now), so had to be corrected as well.
Diffstat (limited to 'doc')
-rw-r--r--doc/translator.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/translator.py b/doc/translator.py
index 2246c08..ed001bb 100644
--- a/doc/translator.py
+++ b/doc/translator.py
@@ -1821,9 +1821,9 @@ class TrManager:
tplDic['numLangStr'] = str(self.numLang)
# Define templates for HTML table parts of the documentation.
- htmlTableTpl = '''\
+ htmlTableTpl = '''
\\htmlonly
- </p>
+ </p>
<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr bgcolor="#000000">
<td>
@@ -1842,7 +1842,7 @@ class TrManager:
</td>
</tr>
</table>
- <p>
+ <p>
\\endhtmlonly
'''
htmlTableTpl = textwrap.dedent(htmlTableTpl)