pandoc 1.5 → 1.5.0.1
raw patch · 4 files changed
+14/−5 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- README +1/−1
- changelog +7/−0
- pandoc.cabal +1/−1
- src/Text/Pandoc/Writers/HTML.hs +5/−3
README view
@@ -42,7 +42,7 @@ any kind. (See COPYRIGHT for full copyright and warranty notices.) Other contributors include Recai Oktaş, Paulo Tanimoto, Peter Wang, Andrea Rossato, Eric Kow, infinity0x, Luke Plant, shreevatsa.public,-rodja.trappe, Bradley Kuhn, thsutton.+rodja.trappe, Bradley Kuhn, thsutton, Justin Bogner. [GPL]: http://www.gnu.org/copyleft/gpl.html "GNU General Public License"
changelog view
@@ -1,3 +1,10 @@+pandoc (1.5.0.1)++ [ John MacFarlane ]++ * HTML writer: Fixed error in math writer (with MathML option)+ that caused an infinite loop for unparsable MathML.+ pandoc (1.5) [ John MacFarlane ]
pandoc.cabal view
@@ -1,5 +1,5 @@ Name: pandoc-Version: 1.5+Version: 1.5.0.1 Cabal-Version: >= 1.2 Build-Type: Custom License: GPL
src/Text/Pandoc/Writers/HTML.hs view
@@ -465,9 +465,11 @@ case texMathToMathML dt str of Right r -> return $ primHtml $ ppcElement conf r- Left _ -> inlineToHtml opts- (Math t str)- PlainMath -> + Left _ -> inlineListToHtml opts+ (readTeXMath str) >>=+ return . (thespan !+ [theclass "math"])+ PlainMath -> inlineListToHtml opts (readTeXMath str) >>= return . (thespan ! [theclass "math"]) ) (TeX str) -> case writerHTMLMathMethod opts of