summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/XML.hs
Commit message (Collapse)AuthorAge
* Update copyright notices for 2014, add missing noticesAlbert Krewinkel2014-05-09
|
* Added Text.Pandoc.Compat.TagSoupEntity.John MacFarlane2013-08-08
| | | | | This allows pandoc to compile with tagsoup 0.13.x. Thanks to Dirk Ullrich for the patch.
* Use new flexible metadata type.John MacFarlane2013-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | * Depend on pandoc 1.12. * Added yaml dependency. * `Text.Pandoc.XML`: Removed `stripTags`. (API change.) * `Text.Pandoc.Shared`: Added `metaToJSON`. This will be used in writers to create a JSON object for use in the templates from the pandoc metadata. * Revised readers and writers to use the new Meta type. * `Text.Pandoc.Options`: Added `Ext_yaml_title_block`. * Markdown reader: Added support for YAML metadata block. Note that it must come at the beginning of the document. * `Text.Pandoc.Parsing.ParserState`: Replace `stateTitle`, `stateAuthors`, `stateDate` with `stateMeta`. * RST reader: Improved metadata. Treat initial field list as metadata when standalone specified. Previously ALL fields "title", "author", "date" in field lists were treated as metadata, even if not at the beginning. Use `subtitle` metadata field for subtitle. * `Text.Pandoc.Templates`: Export `renderTemplate'` that takes a string instead of a compiled template.. * OPML template: Use 'for' loop for authors. * Org template: '#+TITLE:' is inserted before the title. Previously the writer did this.
* Added Text.Pandoc.Writers.OPML.John MacFarlane2013-03-19
| | | | | | | | TODO: * Document in README * Add tests * Add template (and add template to cabal file)
* Fixed bug in fromEntities.John MacFarlane2012-04-14
| | | | The previous version would turn "hi & low you know;" into "hi &".
* Fixed bug in fromEntities: require semicolon to process as entity.John MacFarlane2012-02-05
|
* Text.Pandoc.XML: Export fromEntities.John MacFarlane2012-02-05
| | | | Remove old 'deEntities' from pandoc.hs.
* XML: Added toEntities.John MacFarlane2012-01-28
|
* XML: don't use breaking spaces in attribute lists.John MacFarlane2010-12-21
|
* XML: Replaced escapeStringAsXML with a faster version.John MacFarlane2010-12-21
| | | | | | Benchmarked with criterion, it's about 8x faster than the old version. This speeds up docbook, opendocument, and html writers.
* Updated copyright notices.John MacFarlane2010-03-23
|
* XML: don't escape \160 (nonbreaking space) as an entity.fiddlosopher2010-01-01
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1770 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added stripTags to Text.Pandoc.XML.fiddlosopher2009-12-05
| | | | | | This is used in the HTML writer. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1647 788f1e2b-df1e-0410-8736-df70ead52e1b
* Moved all haskell source to src subdirectory.fiddlosopher2009-01-24
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1528 788f1e2b-df1e-0410-8736-df70ead52e1b