From: <mi...@us...> - 2012-08-14 10:55:01
|
Revision: 7494 http://docutils.svn.sourceforge.net/docutils/?rev=7494&view=rev Author: milde Date: 2012-08-14 10:54:53 +0000 (Tue, 14 Aug 2012) Log Message: ----------- Fix [ 3556388 ] Mathjax does not work with rst2s5. Modified Paths: -------------- trunk/docutils/HISTORY.txt trunk/docutils/docutils/writers/s5_html/__init__.py Modified: trunk/docutils/HISTORY.txt =================================================================== --- trunk/docutils/HISTORY.txt 2012-08-14 09:01:31 UTC (rev 7493) +++ trunk/docutils/HISTORY.txt 2012-08-14 10:54:53 UTC (rev 7494) @@ -41,7 +41,11 @@ - Apply [ 3555160 ] ensure order of "otherlanguages". +* docutils/writers/s5_html/__init__.py + - Fix [ 3556388 ] Mathjax does not work with rst2s5. + + Release 0.9.1 (2012-06-17) ========================== Modified: trunk/docutils/docutils/writers/s5_html/__init__.py =================================================================== --- trunk/docutils/docutils/writers/s5_html/__init__.py 2012-08-14 09:01:31 UTC (rev 7493) +++ trunk/docutils/docutils/writers/s5_html/__init__.py 2012-08-14 10:54:53 UTC (rev 7494) @@ -285,6 +285,8 @@ self.html_prolog.append(self.doctype) self.meta.insert(0, self.content_type % self.settings.output_encoding) self.head.insert(0, self.content_type % self.settings.output_encoding) + if self.math_header: + self.head.append(self.math_header) header = ''.join(self.s5_header) footer = ''.join(self.s5_footer) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |