summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/SelfContained.hs
Commit message (Collapse)AuthorAge
* Update copyright notices for 2014, add missing noticesAlbert Krewinkel2014-05-09
|
* SelfContained: Handle "poster" attribute in "video" tags.John MacFarlane2014-03-05
| | | | Closes #1188.
* Use isURI instead of isAbsoluteURI.John MacFarlane2013-10-16
| | | | It allows fragments identifiers.
* Improved fetching of external resources.John MacFarlane2013-07-18
| | | | | | | | | * In Shared, openURL and fetchItem now return an Either, for better error handling. (API change.) * Better error message when fetching a URL fails with `--self-contained`. * EPUB writer: If resource not found, skip it, as in Docx writer. * Closes #916.
* Added comment/todo to SelfContained.John MacFarlane2013-04-10
|
* SelfContained: handle src in embed, audio, source, input tags.John MacFarlane2013-03-26
|
* SelfContained: strip off fragment, query of relative URLJohn MacFarlane2013-03-25
| | | | | | | | | | | | | | | before treating as a filename. This fixes `--self-contained` when used with CSS files that include web fonts using the method described here: http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/ Examples from reveal.js themes: "../../lib/font/league_gothic-webfont.eot?#iefix" "../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular" Closes #739.
* Refactoring:John MacFarlane2013-01-11
| | | | | | | * Shared now exports fetchItem (instead of getItem) and openURL * fetchItem has different parameters than getItem and includes some logic formerly in the ODT and Docx writers * getItem still used in SelfContained
* Move getItem from SelfContained to Share; export getItem.John MacFarlane2013-01-11
|
* Data files changes.John MacFarlane2012-12-29
| | | | | | | | | | * Added `embed_data_files` flag. (not yet used) * Shared no longer exports `findDataFile`. * `readDataFile` now returns a strict bytestring. * Shared now exports `readDataFileUTF8` which returns a string like the old `readDataFile`. * Rewrote modules to use new data file functions and to avoid using functions from Paths_pandoc directly.
* Removed need for utf8-string package.John MacFarlane2012-09-25
| | | | | | | | * Depend on text. * Expose Text.Pandoc.UTF8. * Text.Pandoc.UTF8 now exports toString, fromString, toStringLazy, fromStringLazy. * These are used instead of the old utf8-string functions.
* Moved renderTags' from HTML reader & SelfContained to Shared.John MacFarlane2012-08-15
| | | | Improved removal of markdown="1" attribute in Markdow reader.
* Fixed whitespace errors.John MacFarlane2012-07-26
|
* SelfContained: Fix handling of absolute URLs in css imports.John MacFarlane2012-06-28
| | | | | | Also allow single-quoted values. Closes #535.
* Don't escape `<` in `<style>` tags with `--self-contained`.John MacFarlane2012-02-17
| | | | Closes #422: highlighting lost using `--self-contained`.
* SelfContained: Use getMimeType from Text.Pandoc.MIME.John MacFarlane2012-01-14
|
* SelfContained: Get mime type from HTTP request if possible.John MacFarlane2011-12-04
| | | | --webtex --self-contained now works.
* SelfContained: Convert all url()s in css to data: uris.John MacFarlane2011-12-04
|
* --self-contained now works with `<video>` as well as `<img>`.John MacFarlane2011-11-24
|
* Changed Offline module to SelfContained, offline to makeSelfContained.John MacFarlane2011-11-21