summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* Eliminated use of TH in test suite.John MacFarlane2013-01-23
|
* LaTeX template: Use `\urlstyle{same}` to avoid monospace URLs.John MacFarlane2013-01-21
|
* Use proportional font for email autolinks with obfuscation.John MacFarlane2013-01-21
| | | | Closes #714.
* Markdown reader: Fixed bug with headerless grid tables.John MacFarlane2013-01-21
| | | | | | | | | The 1.10 code assumed that each table header cell contains exactly one block. That failed for headerless tables (0) and also for tables with multiple blocks in a header cell. The code is fixed and tests provided. Thanks to Andrew Lee for pointing out the bug.
* Fixed bug with escaped % in LaTeX reader.John MacFarlane2013-01-20
| | | | Also added tests. Closes #710.
* LaTeX test updates for latest changes to template & h-k.John MacFarlane2013-01-19
|
* Get rid of compiler warnings in Tests.Helpers.John MacFarlane2013-01-19
|
* Set locale encoding in test suite.John MacFarlane2013-01-18
| | | | | This prevents a "commit buffer (invalid argument)" error on Windows.
* RTF writer: Added writeRTFWithEmbeddedImages.John MacFarlane2013-01-18
| | | | | | | * RTF writer: Export writeRTFWithEmbeddedImages instead of rtfEmbedImage. * Text.Pandoc: Use writeRTFWithEmbeddedImages for RTF. * Moved code for embedding images in RTF out of pandoc.hs.
* Changed Ext_autolink_urls -> Ext_autolink_bare_uris.John MacFarlane2013-01-15
| | | | Added tests.
* Added lots of tests for bare URIs.John MacFarlane2013-01-15
|
* Revised URI parser.John MacFarlane2013-01-15
| | | | | | | | * It no longer uses Network.URIs URI parser, which is too restrictive (not allowing unicode URIs unless encoded). * It allows many more schemes. * It better handles punctuation so as to avoid capturing trailing punctuation in bare URLs.
* Use 'fig:' instead of '\SOH' in title to indicate figure.John MacFarlane2013-01-15
| | | | Revises 1a4b47e93368bfbd31daccdfedbd9527ee740201
* Implemented Ext_implicit_figures.John MacFarlane2013-01-14
| | | | | | | | | | | | * In markdown reader, add a '\1' character to the beginning of the title of an image that is alone in its paragraph, if implicit_figures extension is selected. * In writers, check for Para [Image alt (src,'\1':tit)] and treat it as a figure if possible. * Updated tests. This is a bit of a hack, but it allows us to make implicit_figures an extension of the markdown reader, rather than the writers.
* Parsing: Fixed uri -- escape unicode URLs.John MacFarlane2013-01-14
| | | | | Otherwise Network.URI.parseURI fails on e.g. Chinese URLs. Changed an incorrect test in markdown-reader-more.
* RST writer: Fixes bug with links with duplicate text.John MacFarlane2013-01-13
| | | | | | | | | We now (a) use anonymous links for links with inline URLs, and (b) use an inline link instead of a reference link if the reference link would require a label that has already been used for a different link. Closes #511.
* Added tests for markdown line blocks and explicit header attributes.John MacFarlane2013-01-13
|
* RST reader: Line block improvements.John MacFarlane2013-01-13
| | | | | | * Use nonbreaking spaces for initial indent (otherwise lost in HTML and LaTeX). * Allow multiple paragraphs in a single line block.
* Use line block in RST writer when a paragraph contains linebreaks.John MacFarlane2013-01-13
| | | | | Previously linebreaks weren't supported in RST, since RST has no native linebreak construct.
* Escape `|` as `\vert` in LaTeX math.John MacFarlane2013-01-12
| | | | | | This avoids a clash with highlighting-kate's macros, which redefine | as a short verbatim delimiter. Thanks to Björn Peemöller for raising this issue.
* Fixed/simplified diff output for tests.John MacFarlane2013-01-12
|
* Added Attr field to Header.John MacFarlane2013-01-09
| | | | | | | | | | Previously header ids were autogenerated by the writers. Now they are generated (unless supplied explicitly) in the markdown parser, if the `header_identifiers` extension is selected. In addition, the textile reader now supports id attributes on headers.
* Updated tests for tight/loose lists.John MacFarlane2013-01-07
| | | | | | Taking into account new context/latex output, and fixing some bugs in the test suite Tests.Helpers and Tests.Writers.ConTeXt. (We had the wrong order of expected/actual in the diff output.)
* Don't put the text of an autolink in Code font.John MacFarlane2013-01-06
|
* Mediawiki reader: interpret HTML in verbatim contexts as text.John MacFarlane2013-01-06
| | | | | Thanks to Jeff Runningen for reporting that mediawiki works this way.
* Updated table tests for latex writer changes.John MacFarlane2013-01-05
|
* MediaWiki writer: use `<code>` not `<tt>` for Code.John MacFarlane2013-01-04
|
* Added css to preserve spaces in <code> tags.John MacFarlane2013-01-04
| | | | Thanks to Dirk Laurie.
* Updated tests for latest highlighting-kate version.John MacFarlane2013-01-04
|
* Added tests for implicit header references.John MacFarlane2013-01-03
|
* Updated test runner for changes in pandoc.John MacFarlane2013-01-03
|
* Fixed test suite to use Diff 0.2 API.John MacFarlane2013-01-02
|
* Textile reader/writer: Fixed autolinks.John MacFarlane2012-11-06
| | | | | | | | | Previously the textile reader and writer incorrectly implented RST-style autolinks for URLs and email addresses. This has been fixed. Now an autolink is done this way: "$":http://myurl.com
* RST writer: Don't add ":align: center" to figures.John MacFarlane2012-11-04
|
* Removed citationSuppressParens.John MacFarlane2012-10-28
| | | | Makefile: Use citeproc-0.3.6 release.
* LaTeX reader: Initialize citationSuppressParens field.John MacFarlane2012-10-22
|
* Revert "LaTeX reader: Use new suppressParens option for footnote citations."John MacFarlane2012-10-21
| | | | | | | | This reverts commit 7499499b68934ae6f3418940328c7fc2bd9fcadd. Conflicts: src/Text/Pandoc/Readers/LaTeX.hs
* Revert "Adjust LaTeX reader test for last change."John MacFarlane2012-10-21
| | | | This reverts commit ea34087cde44bc941ef0280d10de775a8c7e5426.
* Updated lhs-test.latex for new highlighting-kate treatment of `.John MacFarlane2012-10-20
|
* Adjust LaTeX reader test for last change.John MacFarlane2012-10-15
|
* LaTeX reader: Use new suppressParens option for footnote citations.John MacFarlane2012-10-15
| | | | | Also changed Biblio, Markdown reader, and LaTeX reader tests because of new citationSuppressParens field in Citation.
* Textile reader: Fixed bug with list items containing line breaks.John MacFarlane2012-10-13
| | | | | | Now pandoc correctly handles hard line breaks inside list items. Previously they broke list parsing. Thanks to Pablo Rodríguez for pointing out the problem.
* LaTeX reader: Better support for citation commands.John MacFarlane2012-10-10
| | | | | * Make `\cite` etc. an AuthorInText. * Make `\footcite` etc. into citations in notes.
* Textile reader: Implemented comment blocks.John MacFarlane2012-10-05
|
* Updated mediawiki writer test for `<br />` change.John MacFarlane2012-10-04
|
* RST reader: Consolidate super/subscript, math into interpretedRole.John MacFarlane2012-09-30
|
* RST reader: Consolidated rawBlock into directive.John MacFarlane2012-09-30
|
* Renamed removedLeadingTrailingSpace to trim.John MacFarlane2012-09-29
| | | | | Also removeLeadingSpace to triml, removeTrailingSpace to trimr.
* RST reader: Consolidated math block parsers into directive.John MacFarlane2012-09-29
|
* RST reader: Use Text.Pandoc.Builder.John MacFarlane2012-09-27
| | | | | | This will give us more flexibility in the future. It also gives built-in normalization. Performance slightly better.