From 85579052b5bb7196b62e9d9cd70e164498e49f6c Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Tue, 12 Aug 2014 23:33:03 -0400 Subject: Docx reader: Check for null-id'd anchors too. Otherwise they get left dangling in the document. --- src/Text/Pandoc/Readers/Docx.hs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Readers/Docx.hs b/src/Text/Pandoc/Readers/Docx.hs index 2c436f76f..346d54bbe 100644 --- a/src/Text/Pandoc/Readers/Docx.hs +++ b/src/Text/Pandoc/Readers/Docx.hs @@ -403,7 +403,6 @@ parPartToInlines (PlainOMath exps) = do isAnchorSpan :: Inline -> Bool isAnchorSpan (Span (ident, classes, kvs) ils) = - (not . null) ident && classes == ["anchor"] && null kvs && null ils -- cgit v1.2.3