aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2015-07-01Do not add a carriage return after a hard line break in OpenDocument writer ↵Michael Chladek1-2/+1
and reflect change in tests.
2015-06-29Fix RST reference names with special charactersLars-Dominik Braun1-0/+4
2015-06-27Textile writer: escape `+` and `-` as entities.John MacFarlane1-8/+8
Closes #2225.
2015-06-27Plain writer: don't use symbols for super/subscript.John MacFarlane1-3/+3
Simplified code by using plainExtensions from Options. Closes #2237.
2015-06-27Updated latex writer tests for last template change.John MacFarlane3-0/+3
2015-06-21DocBook reader mediaobjects and figures, closes #2184mb212-4/+23
2015-06-09Fixed tests/docx/links.docx for new url.John MacFarlane1-0/+0
2015-06-09replace old url with pandoc.orgPablo Rodríguez6-6/+6
2015-06-09Fix InDesign crash with URLs containing more than one colon charactergohai1-18/+18
Colons are valid characters in URLs, and used e.g. by the Internet Archive's Wayback Machine - a popular resource amongst researchers. When InDesign encounters a HyperlinkURLDestination with more than one colon character in it, it crashes when placing the ICML. (This was tested against CS6.) The IDML specification hints at this requirement in section 6.4.1: "The colon apppears in the Name attribute of the style, but is encoded as %3a when it appears in the Self attribute". Follow this example for all colon characters in URLs.
2015-06-07DokuWiki writer: Use proper `<code>` tags for code blocks.John MacFarlane1-15/+37
Closes #2213.
2015-05-27LaTeX template: Move hyperref before polyglossia.John MacFarlane3-30/+30
This avoids an error "Please load package hyperref before bidi package, and then try to run xelatex on your document again". See jgm/pandoc-templates #96.
2015-05-26Merge pull request #2169 from tarleb/org-header-tagsJohn MacFarlane1-4/+26
Org reader: put header tags into empty spans
2015-05-26Merge pull request #2141 from DigitalPublishingToolkit/icml-imagesJohn MacFarlane1-2/+2
Fix image URIs in ICML output
2015-05-26Updated tests for new highlighting-kate.John MacFarlane3-25/+76
2015-05-23Org reader: drop trees with a :noexport: tagAlbert Krewinkel1-0/+7
Trees having a `:noexport:` tag set are not exported. This mirrors default Emacs Org-Mode behavior.
2015-05-23Org reader: put header tags into empty spansAlbert Krewinkel1-4/+19
Org mode allows headers to be tagged: ``` org-mode * Headline :TAG1:TAG2: ``` Instead of being interpreted as part of the headline, the tags are now put into the attributes of empty spans. Spans without textual content won't be visible by default, but they are detectable by filters. They can also be styled using CSS when written as HTML. This fixes #2160.
2015-05-13Markdown reader: Made implicit header references case-insensitive.John MacFarlane2-0/+3
Added `stateHeaderKeys` to `ParserState`; this is a `KeyTable` like `stateKeys`, but it only gets consulted if we don't find a match in `stateKeys`, and if `Ext_implicit_header_references` is enabled. Closes #1606.
2015-05-13HTML reader: Support base tag.John MacFarlane2-0/+29
We only support the href attribute, as there's no place for "target" in the Pandoc document model for links. Added HTML reader test module, with tests for this feature. Closes #1751.
2015-05-13Fixed regression in charsInBalancedBrackets.John MacFarlane2-0/+6
Introduced by e9d7504. This regression caused link and image references containing raw tex not to parse correctly. Added test. Closes #2150.
2015-05-11Fix image URIs in ICML output (v2)gohai1-2/+2
InDesign expects LinkResourceURI to start with "file:" for local filenames, and won't render/link the image without.
2015-05-04Test updates for 15d16e84567ca74c18448c60a2499e484581798f.John MacFarlane3-0/+12
2015-05-03Make sure a closing `</div>` doesn't get included in a defn list item.John MacFarlane1-0/+4
Closes #2127.
2015-05-02Fixed tests for change to latex template.John MacFarlane3-3/+3
2015-04-26Fixed regression with lists inside defintiion lists.John MacFarlane1-0/+3
This fixes a regression (not in any released version) on things like hi : - there Closes #2098.
2015-04-22EPUB tests: don't use joinPath, which varies across platforms.John MacFarlane1-2/+5
Instead, use a forward-slash to join paths, regardless of the platform. This matches the way MediaBag now works. See https://github.com/jgm/pandoc/commit/56e4ecab20613d86a6660547ed87e7ff4b80d632#commitcomment-10858449
2015-04-20MD Reader: Tests for links/footnotes after citationsNikolay Yakimov1-0/+41
In-text citation suffix clashes with links and footnotes
2015-04-18Added test case for #2062.John MacFarlane1-0/+3
2015-04-18Markdown writer: improved escaping.John MacFarlane3-17/+17
`<` should not be escaped as `\<`, for compatibility with original Markdown. We now escape `<` and `>` with entities. Also, we now backslash-escape square brackets. Closes #2086.
2015-04-18Markdown definition lists: don't require indent for first line.John MacFarlane1-0/+3
Previously the body of the definition (after the `:` or `~` marker) needed to be in column 4. This commit relaxes that requirement, to better match the behavior of PHP Markdown Extra. So, now this is a valid definition list: foo : bar This patch also helps resolve a potentially ambiguity with table captions: foo : bar ----- table ----- Is "bar" a definition, or the caption for the table? We'll count it as a caption for the table. Closes #2087.
2015-04-17More principled fix for #1820.John MacFarlane1-0/+3
If the tag parses as a comment, we check to see if the input starts with `<!--`. If not, it's bogus comment mode and we fail htmlTag. Includes test case. Closes #1820.
2015-04-17Merge branch 'latex-tightlist' of https://github.com/jlduran/pandoc into ↵John MacFarlane4-30/+36
jlduran-latex-tightlist Conflicts: data/templates
2015-04-17Merge pull request #1954 from mcmtroffaes/feature/citekey-firstchar-alphanumJohn MacFarlane1-0/+22
Allow digit as first character of a citation key.
2015-04-17Merge pull request #2079 from lierdakil/rst-normalize-headingsJohn MacFarlane2-0/+81
RST Writer: Normalize headings to sequential levels
2015-04-17Merge pull request #2092 from lierdakil/issue1909John MacFarlane1-0/+3
MD Reader: Smart apostrophe after inline math
2015-04-17LaTeX template: redefine `\paragraph`, `\subparagraph`...John MacFarlane3-0/+18
to behave more like section headers. Closes #1658.
2015-04-18MD Reader: Test for smart `'` after inline mathNikolay Yakimov1-0/+3
2015-04-16RST Writer: Tests for rubrics and heading normalizationNikolay Yakimov2-0/+81
2015-04-13LaTeX template: include grffile together with graphicx.John MacFarlane1-1/+1
This properly handles filenames containing spaces and dots. Closes #2074.
2015-04-12Merge pull request #2072 from lierdakil/latex-reader-cleanupJohn MacFarlane1-0/+10
LaTeX Reader: Code cleanup
2015-04-12OpenDocument template: use `text:p` instead of `text:h` for title.John MacFarlane1-1/+1
Using `text:h` causes problems with numbering. Closes #2059. Thansk to @nkalvi for diagnosing this.
2015-04-13LaTeX Reader: Test for `^^` character escapesNikolay Yakimov1-0/+10
2015-04-12ODT Writer: Figure captions - Tests updateNikolay Yakimov2-5/+6
2015-04-07RST writer: better handling of raw latex inline.John MacFarlane1-1/+5
We use `` :raw-latex:`...` `` and add a definition for this role to the template. Closes #1961.
2015-03-30Latex Reader: More tests for corner casesNikolay Yakimov2-1/+9
2015-03-30Latex Reader: Test for para starting with latex macroNikolay Yakimov2-1/+6
2015-03-30LaTeX Reader: check for block-level newcommand aliases in blockCommandNikolay Yakimov2-1/+24
2015-03-28Merge branch 'master' of https://github.com/rootzlevel/pandoc into ↵John MacFarlane1-0/+4
rootzlevel-master Conflicts: src/Text/Pandoc/Readers/Org.hs
2015-03-28Merge branch 'master' of github.com:jgm/pandocJohn MacFarlane1-1/+0
2015-03-28Fixed typo in lhs-test.html.John MacFarlane1-1/+0
2015-03-28Merge branch 'mpickering-errortype'John MacFarlane9-19/+28