summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Docx/Util.hs
Commit message (Collapse)AuthorAge
* hlint suggestions.John MacFarlane2017-10-27
|
* Stylish-haskell automatic formatting changes.John MacFarlane2017-03-04
|
* Docx reader: handle local namespace declarations.John MacFarlane2017-02-03
| | | | | | | | | | | Previously we didn't recognize math, for example, when the xmlns declaration occured on the element and not the root. Now we recognize either. Closes #3365. This patch defines findChildByName, findChildrenByName, and findAttrByName in Util, and uses these in Parse.
* Docx reader utils: handle empty namespace in elemNameJesse Rosenthal2016-11-02
| | | | | | | | | | Previously, if given an empty namespace: (elemName ns "" "foo") `elemName` would output a QName with a `Just ""` namespace. This is never what we want. Now we output a `Nothing`. If someone *does* want a `Just ""` in the namespace, they can enter the QName value explicitly.
* Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."John MacFarlane2015-11-09
| | | | This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
* Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane2015-11-08
| | | | | | | This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
* Started moving StyleMap out of writer codeNikolay Yakimov2015-03-01