aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2011-01-28RTF writer: Embed images when possible.John MacFarlane1-2/+2
* Resolves Issue #275. * PNG and JPEG supported. * Export rtfEmbedImage.
2011-01-26Added Tests.Readers.Markdown.John MacFarlane2-0/+31
2011-01-26Add support for attributes in inline Code.John MacFarlane13-54/+51
Additional related changes: * URLs in Code in autolinks now use class "url". * Require highlighting-kate 0.2.8.2, which omits the final <br/> tag, essential for inline code.
2011-01-26RST reader: Improved field lists.John MacFarlane2-23/+24
Field lists now work properly with block content. (Thanks to Lachlan Musicman for pointing out the bug.) In addition, definition list items are now always Para instead of Plain -- which matches behavior of rst2xml.py. Finally, in image blocks, the alt attribute is parsed properly and used for the alt, not also the title.
2011-01-26Added RST reader tests.John MacFarlane2-0/+48
2011-01-26Updates for compiling with ghc 7.John MacFarlane2-4/+6
We now use a CPP trick to have compatible quasiquotes that work in both GHC 6.12 and 7.
2011-01-26Updated tests.John MacFarlane3-3/+4
2011-01-26Distinguish latex & context environments; blank line after in writers.John MacFarlane3-7/+3
2011-01-26Bumped version to 1.8; depend on pandoc-types 1.8.John MacFarlane17-62/+65
The old TeX, HtmlInline and RawHtml elements have been removed and replaced by generic RawInline and RawBlock elements. All modules updated to use the new raw elements.
2011-01-23Updated textile tests.John MacFarlane1-1/+14
2011-01-23Added needed space after .bc and .bq.John MacFarlane2-133/+157
Otherwise these can trap a </dd>, for example. Better solution to try next: rewrite using Pretty.
2011-01-23Textile writer: Don't escape code in bc. block.John MacFarlane1-8/+8
2011-01-23Textile writer: Don't HTML-escape between @'s.John MacFarlane1-2/+2
2011-01-23Textile reader: Fixed bug (swallowed p at beginning of paragraph).John MacFarlane2-0/+3
The problem was a missing 'try' in the maybeExplicitBlock parser. Test case, a paragraph beginning with 'p', has been added.
2011-01-23Textile writer: Use <pre> instead of bc.. for code with blank lines.John MacFarlane1-2/+6
This has fewer interaction effects.
2011-01-23Textile reader: Support <tt> for inline code.John MacFarlane2-0/+3
2011-01-23Textile reader: Added code blocks with bc.John MacFarlane2-0/+4
2011-01-22Removed deliberate error in LaTeX reader tests.John MacFarlane1-1/+1
2011-01-22Reorganized tests.John MacFarlane1-4/+4
The native writer test needs to run before others that depend on it.
2011-01-22Use ANSI color to point to diffs in test output.John MacFarlane2-8/+22
ConTeXt writer bullet list test set to break as an example.
2011-01-22Tests.Helpers: Added file quasiquoter.John MacFarlane1-0/+14
This allows you to take expected test output from a file.
2011-01-22Tests.Arbitrary: Let strings include any character.John MacFarlane1-1/+1
2011-01-22Fixed -Wall error in imports.John MacFarlane1-1/+1
2011-01-22Put dashed lines around diff results in Old test.John MacFarlane1-2/+5
2011-01-22Added native writer tests.John MacFarlane3-4/+24
2011-01-22Added 'property' in Tests.Helpers & some quickcheck tests.John MacFarlane3-2/+27
2011-01-22Tests.Arbitrary: Added instances for Inlines, Blocks.John MacFarlane1-0/+8
2011-01-22ConTeXt writer: Don't add cr at end of inline footnote.John MacFarlane1-7/+5
2011-01-22Improved test framework.John MacFarlane3-47/+118
Now there is a uniform interface for reader and writer tests. Also added a quasiquoter, for multiline strings.
2011-01-21Merge branch 'master' of github.com:jgm/pandocJohn MacFarlane6-11/+3
2011-01-21latex template: move special treatment of \sout.John MacFarlane6-11/+3
It needs to be inside the if(strikeout) condition, after the ulem package is imported; otherwise we try to renewcommand{\sout} when \sout isn't yet defined.
2011-01-21More informative output on writer test failure.John MacFarlane2-8/+8
2011-01-21Added Tests.Writers.ConTeXt and helpers for writer tests.John MacFarlane3-0/+38
2011-01-21Make sure native output ends in newline with --standalone.John MacFarlane7-7/+7
2011-01-20Fixed the two test cases that were intentionally set to fail.John MacFarlane1-2/+2
2011-01-20Updated tests for new native format.John MacFarlane14-2332/+2240
2011-01-19Fixed problem with strikout in LaTeX headers with hyperref.John MacFarlane6-0/+12
Added a command to the latex template to disable \sout inside pdf strings. Thanks to Joost Kremers for the fix.
2011-01-19Show Haskell-readable version of input string in test failure.John MacFarlane1-5/+7
2011-01-19Unit tests: On failure, print the input string.John MacFarlane2-7/+7
2011-01-18Added normalize in latex reader tests.John MacFarlane1-1/+2
2011-01-18Revamped tests with new =: and =?> operators + builder.John MacFarlane2-46/+45
Left in a couple failing tests for demonstration purposes.
2011-01-16Replaced --no-citeproc with --natbib in tests.John MacFarlane1-3/+3
2011-01-15Merge branch 'tests'John MacFarlane8-2/+551
2011-01-15Fixed lhs tests for new position of <title> after <meta>s.John MacFarlane2-2/+2
2011-01-14LaTeX writer: Escape strings in \href{..}.John MacFarlane1-5/+5
Previously strings weren't escaped, so %5D would be interpreted as a LaTeX comment!
2011-01-14Minor code cleanup.John MacFarlane1-3/+9
2011-01-14Keep Tests.Arbitrary but remove quickcheck tests for now.John MacFarlane2-15/+0
Remove Tests.Shared. Remove dependency on QuickCheck.
2011-01-14Merge branch 'master' of github.com:jgm/pandoc into testsJohn MacFarlane1-115/+58
2011-01-14LateX writer: In nonsimple tables, put cells in \parbox.John MacFarlane1-115/+58
Otherwise we can get problems with linebreaks, and cell spacing isn't right. Thanks to Jef Allbright for pointing out the problem.
2011-01-14Added quickcheck tests for normalize in Shared.John MacFarlane2-2/+18