diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2014-08-12 23:33:03 -0400 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2014-08-12 23:33:03 -0400 |
commit | 85579052b5bb7196b62e9d9cd70e164498e49f6c (patch) | |
tree | f224c23f2a5fb27eb7020eb699921b8d9fc84373 /src/Text | |
parent | 194ed8885236d8446b34f44ecf16d4fa9e5c5cbe (diff) | |
download | pandoc-85579052b5bb7196b62e9d9cd70e164498e49f6c.tar.gz |
Docx reader: Check for null-id'd anchors too.
Otherwise they get left dangling in the document.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Readers/Docx.hs | 1 |
1 files changed, 0 insertions, 1 deletions
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 |