aboutsummaryrefslogtreecommitdiff
path: root/test/Tests
AgeCommit message (Collapse)AuthorFilesLines
2018-10-19Man reader: properly handle multi-block list items.John MacFarlane1-4/+4
Closes #4985.
2018-10-19Man reader: Added more tests for escapes.John MacFarlane1-6/+11
Closes #4983.
2018-10-19Man reader: minor improvements.John MacFarlane1-2/+8
use `trimInlines` for Para content to avoid leading and trailing spaces. Fix handling of \" in middle of line. Add more tests for escapes.
2018-10-19More man reader test updates.John MacFarlane1-6/+6
2018-10-18Update man reader tests.John MacFarlane1-2/+2
2018-10-18Merge branch 'Yanpas-groff_reader'John MacFarlane2-0/+87
2018-10-17Muse reader: allow examples to be indented with tabsAlexander Krotov1-0/+8
2018-10-17Muse reader: remove indentation from examples indicated by {{{ and }}}Alexander Krotov1-0/+6
2018-10-16Merge branch 'groff_reader' of https://github.com/Yanpas/pandoc into ↵John MacFarlane2-0/+87
Yanpas-groff_reader
2018-10-17added old-style testYan Pas2-1/+5
2018-10-15Only override --quickcheck-tests=N if N is not default value (100).John MacFarlane2-2/+12
Some of the round-trip tests are set to do a maximum of 25 trials when the default value is given. Closes #4956.
2018-10-16buildersYan Pas1-4/+4
2018-10-14tests, commented debug functionsYan Pas1-19/+58
2018-10-10Test that Muse reader can parse code with = sign insideAlexander Krotov1-0/+2
(fixed by previous commit)
2018-10-10Muse reader: fix parsing of empty cellsAlexander Krotov1-0/+11
2018-10-07Merge branch 'master' into groff_readerYan Pas12-38/+307
2018-10-05Muse reader: allow table caption to contain "+"Alexander Krotov1-0/+8
2018-09-28Parse empty argument array in inline src blocks.leungbk1-0/+7
`enclosedByPair` alone does not the handle the empty array properly since it uses `many1Till`.
2018-09-27HTML, Muse reader tests: reduce time taken by round-trip test.John MacFarlane2-4/+6
2018-09-24Use hslua v1.0.0Albert Krewinkel1-5/+5
2018-09-22Muse reader tests: more testsAlexander Krotov1-0/+12
Check that indented blocks that end in self-terminating blocks (such as block tags and verse) can be terminated by paragraphs.
2018-09-21Muse reader: do not allow code markup to be followed by digitAlexander Krotov1-0/+4
2018-09-19Markdown reader: distinguish autolinks in the AST.John MacFarlane1-3/+5
With this change, autolinks are parsed as Links with the `uri` class. (The same is true for bare links, if the `autolink_bare_uris` extension is enabled.) Email autolinks are parsed as Links with the `email` class. This allows the distinction to be represented in the URI. Formerly the `uri` class was added to autolinks by the HTML writer, but it had to guess what was an autolink and could not distinguish `[http://example.com](http://example.com)` from `<http://example.com>`. It also incorrectly recognized `[pandoc](pandoc)` as an autolink. Now the HTML writer simply passes through the `uri` attribute if it is present, but does not add anything. The Textile writer has been modified so that the `uri` class is not explicitly added for autolinks, even if it is present. Closes #4913.
2018-09-19Lua filter tests: produce better error on test failureAlbert Krewinkel1-2/+2
2018-09-18parse rST inlines containing newlines closing #4912danse1-0/+3
this eliminates a regression error introduced after pandoc 2.1.1, affecting rST inline parsing. see the issue for details
2018-09-16Muse writer: replace newlines in strings with spacesAlexander Krotov1-0/+1
2018-09-11Enable tables in HTML round trip testAlexander Krotov1-1/+0
2018-09-11HTML reader tests: accept Blocks in round trip testAlexander Krotov1-2/+2
2018-09-11Muse reader tests: accept Blocks instead of Block in round trip testAlexander Krotov1-2/+2
This way testcase can be shrinked better up to removing all blocks completely.
2018-09-11Muse writer: set envInsideBlock = True when rendering notesAlexander Krotov1-0/+7
2018-09-11HTML writer: always output <dt> element, even if it is emptyAlexander Krotov1-0/+5
Fixes #4883
2018-09-11Muse writer: check for whitespace in the beginning and end of Str'sAlexander Krotov1-0/+3
2018-09-11Muse writer: escape -, ; and > in the beginning of stringsAlexander Krotov1-0/+10
2018-09-11Muse writer: escape list markers in the beginning of notesAlexander Krotov1-0/+6
2018-09-11Muse writer: normalize inline list before testing if tags should be usedAlexander Krotov1-0/+1
2018-09-11Muse writer: use tags instead of lightweight markup for empty stringsAlexander Krotov1-0/+4
2018-09-10Remove RawBlock from HTML round trip testsAlexander Krotov1-0/+1
2018-09-10HTML reader: test round trip propertyAlexander Krotov1-0/+23
2018-09-06Org reader: respect export option `p` for planning infoAlbert Krewinkel2-0/+36
Inclusion of planning info (*DEADLINE*, *SCHEDULED*, and *CLOSED*) can be controlled via the `p` export option: setting the option to `t` will add all planning information in a *Plain* block below the respective headline.
2018-09-06Muse reader: close the </quote> in indented tag testAlexander Krotov1-1/+2
There is already a separate test for unclosed </quote>.
2018-09-05Org reader: strip planning info from outputAlbert Krewinkel1-0/+25
Planning info is parsed, but not included in the output (as is the default with Emacs Org-mode). Fixes: #4867
2018-09-04hlint Muse writer testsAlexander Krotov1-6/+6
2018-09-04Remove redundant $Alexander Krotov1-1/+1
2018-09-02Muse reader: autonumber sections in the correct orderAlexander Krotov1-0/+12
Parsing now stops at each section header to ensure the header is registered before parsing of the next section starts.
2018-09-02Muse writer: use lightweight markup when possibleAlexander Krotov1-11/+39
2018-09-02Muse reader: allow newline after opening "*" or "**"Alexander Krotov1-0/+8
Emacs Muse allows this.
2018-08-31Muse reader: parse <verse> tag in one passAlexander Krotov1-0/+6
instead of using parseFromString. This change makes it possible to have verbatim </verse> tag inside verse.
2018-08-30Fix a typo: s/afeter/after/Alexander Krotov1-1/+1
2018-08-12Muse reader: don't allow digits after closing marker in lightweight markupAlexander Krotov1-0/+4
This change makes reader more compatible with Emacs Muse
2018-08-05RST reader: improve parsing of inline interpreted text roles.John MacFarlane1-1/+1
* Use a Span with class "title-reference" for the default title-reference role. * Use B.text to split up contents into Spaces, SoftBreaks, and Strs for title-reference. * Use Code with class "interpreted-text" instead of Span and Str for unknown roles. (The RST writer has also been modified to round-trip this properly.) * Disallow blank lines in interpreted text. * Backslash-escape now works in interpreted text. * Backticks followed by alphanumerics no longer end interpreted text. Closes #4811.