summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* Updated tests for new highlighting-kate behavior.John MacFarlane2015-03-28
|
* Merge pull request #1968 from lierdakil/issue1607John MacFarlane2015-03-16
|\ | | | | Fixes for multiple docx writer style bugs.
| * Docx Writer: Tables testNikolay Yakimov2015-03-08
| |
| * Lists testNikolay Yakimov2015-03-08
| |
| * Initial tests for writerNikolay Yakimov2015-03-03
| |
* | AsciiDoc writer: avoid wrapping after list marker.John MacFarlane2015-03-15
| | | | | | | | Closes #1858.
* | AsciiDoc writer: insert some needed blank lines.John MacFarlane2015-03-15
| | | | | | | | Closes #1860.
* | Merge pull request #1989 from zudov/shortcut_ref_link_prJohn MacFarlane2015-03-15
|\ \ | | | | | | Support shortcut reference links in markdown writer
| * | Support shortcut reference links in markdown writerKonstantin Zudov2015-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #1977 Most markdown processors support the [shortcut format] for reference links. Pandoc's markdown reader parsed this shortcuts unoptionally. Pandoc's markdown writer (with --reference-links option) never shortcutted links. This commit adds an extension `shortcut_reference_links`. The extension is enabled by default for those markdown flavors that support reading shortcut reference links, namely: - pandoc - strict pandoc - github flavoured - PHPmarkdown If extension is enabled, reader parses the shortcuts in the same way as it preveously did. Otherwise it would parse them as normal text. If extension is enabled, writer outputs shortcut reference links unless doing so would cause problems (see test cases in `tests/Tests/Writers/Markdown.hs`).
* | | Org reader: add support for smart punctuationCraig S. Bosma2015-03-09
| | |
* | | LaTeX reader: allow non-empty colsep in tablesMathias Schenner2015-03-08
| | | | | | | | | | | | | | | | | | | | | | | | The `tabular` environment allows non-empty column separators with the "@{...}" syntax. Previously, pandoc would fail to parse tables if a non-empty colsep was present. With this commit, these separators are still ignored, but the table gets parsed. A test case is included.
* | | LaTeX reader: allow valign argument in tablesMathias Schenner2015-03-08
| | | | | | | | | | | | | | | | | | | | | | | | The `tabular` environment takes an optional parameter for vertical alignment. Previously, pandoc would fail to parse tables if this parameter was present. With this commit, the parameter is still ignored, but the table gets parsed. A test case is included.
* | | LaTeX reader: add some test cases for simple tablesMathias Schenner2015-03-08
| | |
* | | Fixed pipe tables -- headerless tables are not allowed.John MacFarlane2015-03-07
|/ / | | | | | | | | | | | | | | | | | | | | | | | | GFM and PHP Markdown Extra pipe tables require headers. Previously pandoc allowed pipe tables not to include headers, and produced headerless pipe tables in Markdown output, but this was based on a misconception about pipe table syntax. This commit fixes this. Note: If you have been using headerless pipe tables, this may cause existing tables to break. Closes #1996.
* / Markdown writer: Avoid introducing spurious list items through wrapping.John MacFarlane2015-02-25
|/ | | | Closes #1946.
* Docx reader: add test for verbatim in sub/superscript.Jesse Rosenthal2015-02-21
|
* Docx reader: Add tests for new list style parsing.Jesse Rosenthal2015-02-19
|
* ICML writer: Better handling of raw blocks and inlines.John MacFarlane2015-02-17
| | | | | | | | Previously these were always escaped and printed verbatim. Now they are ignored unless the format is "icml", in which case they are passed through unescaped. Closes #1951.
* Docx reader: test lists in table cells.Jesse Rosenthal2015-02-13
|
* Merge pull request #1927 from freephile/masterJohn MacFarlane2015-02-07
|\ | | | | update syntax for Images/Media files in MediaWiki
| * update syntax for Images/Media files in MediaWikiGreg Rundlett2015-02-05
| | | | | | The preferred syntax for Images and other media is [[File:Foo.jpg]] in MediaWiki since v1.14 (2008). [[Image:Foo.jpg]] is deprecated but still works as an alias to the File namespace.
* | Merge branch 'patch/fixTexinfoWrap' of https://github.com/timtylin/scholdoc ↵John MacFarlane2015-02-07
|\ \ | | | | | | | | | | | | | | | | | | into timtylin-patch/fixTexinfoWrap Conflicts: src/Text/Pandoc/Writers/Texinfo.hs
| * | Texinfo writer: fix wrapping by using breakable spacesTim Lin2015-02-06
| |/
* / Append newline to the LineBreak of various writersTim Lin2015-02-04
|/ | | | | | | | | | | | | | This change improves output formatting of content with a large amount of force line breaks, such as line-blocks. The following writers are affected: * Dokuwiki * HTML * EPUB (via HTML) * LaTeX * MediaWiki * OpenDocument * Texinfo This commit resolves #1924
* HTML writer: Add "inline" or "display" class to math spans.John MacFarlane2015-02-01
| | | | | | This allows inline and display math to be styled differently. Closes #1914.
* Merge pull request #1885 from mb21/html-reader-tablesJohn MacFarlane2015-01-25
|\ | | | | fixes HTML Reader: tables
| * fixes #1859 HTML Reader table parsingmb212015-01-25
| |
* | Docx Reader: Add test for VML images.Jesse Rosenthal2015-01-21
|/ | | | | Since images are often visually (not structurally) placed on the page, people might not always get the results they're looking for here.
* FB2 writer: Add newline to output.John MacFarlane2014-12-15
|
* HTML writer: put newline btw img and caption paragraph.John MacFarlane2014-12-15
|
* Don't treat a citation as a reference link label.John MacFarlane2014-12-15
| | | | Closes #1763.
* Improved texorpdfstring patch #1148.John MacFarlane2014-12-15
| | | | | | * Make LaTeX reader recognize texorpdfstring. * Don't use texorpdfstring unless it's actually needed. * Fix tests.
* Merge branch 'use-texorpdfstring' of https://github.com/wilx/pandoc into ↵John MacFarlane2014-12-15
|\ | | | | | | | | | | | | | | wilx-use-texorpdfstring Conflicts: src/Text/Pandoc/Writers/LaTeX.hs tests/Tests/Writers/LaTeX.hs
| * Update tests suite to expect \texorpdfstring.Vaclav Zeman2014-02-13
| |
* | Merge pull request #1805 from bergey/rstJohn MacFarlane2014-12-15
|\ \ | | | | | | RST Reader - Improved Role Support
| * | RST Reader: compute Attrs when role is definedDaniel Bergey2014-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move recursive role lookup from renderRole to addNewRole. The Attr value will be the same for every occurance of this role, so there's no reason to compute it every time. This allows simplifying the stateRstCustomRoles map considerably. We could go even further, and remove the fmt and attr arguments to renderRole, which are null except for custom roles.
| * | WIP: tests for RST rolesDaniel Bergey2014-12-12
| | |
* | | DocBook readers: Include id on section headers.John MacFarlane2014-12-14
| | | | | | | | | | | | Closes #1818.
* | | Merge pull request #1813 from tarleb/file-linksJohn MacFarlane2014-12-14
|\ \ \ | | | | | | | | Org reader: properly handle links to `file:target`
| * | | Org reader: properly handle links to `file:target`Albert Krewinkel2014-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Org links like `[[file:target][title]]` were not handled correctly, parsing the link target verbatim. The org reader is changed such that the leading `file:` is dropped from the link target. This is related to issues #756 and #1812.
* | | | Fixe autolinks with following punctuation.John MacFarlane2014-12-14
|/ / / | | | | | | | | | | | | | | | Closes #1811. The price of this is that autolinked bare URIs can no longer contain `>` characters, but this is not a big issue.
* | | Merge pull request #1695 from bjornbm/masterJohn MacFarlane2014-12-10
|\ \ \ | | | | | | | | Escape inline verbatim spaces in LaTeX output
| * | | Escape spaces. Fixes jgm/pandoc#1694.Bjorn Buckwalter2014-10-15
| | | |
* | | | DocBook reader: document/test "type" as implementedBryan O'Sullivan2014-12-08
| | | |
* | | | Fix test suiteBryan O'Sullivan2014-12-08
| | | |
* | | | DocBook reader: add support for classnameBryan O'Sullivan2014-12-08
| | | |
* | | | DocBook reader: add support for calloutlist and calloutBryan O'Sullivan2014-12-08
| | | | | | | | | | | | | | | | We treat a calloutlist as a bulleted list. This works well in practice.
* | | | Merge pull request #1746 from shelf/dw-ext-imagesMatthew Pickering2014-12-08
|\ \ \ \ | |_|/ / |/| | | DokuWiki writer: fix external images
| * | | DokuWiki writer: add external_images testTimothy Humphries2014-11-09
| | | | | | | | | | | | | | | | Add test for #1739.
* | | | parse RST class directivesDaniel Bergey2014-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The class directive accepts one or more class names, and creates a Div value with those classes. If the directive has an indented body, the body is parsed as the children of the Div. If not, the first block folowing the directive is made a child of the Div. This differs from the behavior of rst2xml, which does not create a Div element. Instead, the specified classes are applied to each child of the directive. However, most Pandoc Block constructors to not take an Attr argument, so we can't duplicate this behavior.