summaryrefslogtreecommitdiff
path: root/src/Tests
Commit message (Collapse)AuthorAge
* Revised code for pipe tables.John MacFarlane2012-07-22
| | | | | | | | | | * All tables now require at least one body row. * Renamed from 'extra' to 'pipe' tables. * Moved functions from Parsing to Readers.Markdown. * Cleaned up code; revised to parse in one pass rather than parsing a raw string, splitting it, and parsing the components. * Allow pipe tables without pipes on the ends (as PHP Markdown Extra does).
* Renamed tests/markdown-tables -> tests/extra-tables.John MacFarlane2012-07-22
| | | | Added to cabal file.
* Merge pull request #510 from mytskine/markdown-extraJohn MacFarlane2012-07-22
|\ | | | | Markdown extra tables [part of the multi-markdown syntax for tables]
| * Added support for markdown-extra tables in the markdown parserFrançois Gannaz2012-02-21
| | | | | | | | | | Only tables whose lines begin with a "|" are supported. There are 2 warnings about unused variables when compiling.
* | Removed fb2.math-webtex.fb2 tests.John MacFarlane2012-07-22
| | | | | | | | Test suite should not require net access to run.
* | FB2: support images embedded as data URIs + tests.Sergey Astanin2012-07-22
| |
* | Test suite for FB2 writer.Sergey Astanin2012-07-22
| |
* | ConTeXt writer: don't escape `&`,`^`,`<`,`>`.John MacFarlane2012-06-27
| | | | | | | | | | | | Simplified escapes for `}` and `{` to `\{` and `\}`. Thanks to Aditya Mahajan.
* | LaTeX writer: Ensure newline after Verbatim at end of footnote.John MacFarlane2012-06-01
| | | | | | | | This fixes a regression. Also added a test for this.
* | Added docbook reader tests (still failing).John MacFarlane2012-05-08
|/
* LaTeX reader: Add ", " to suffix...John MacFarlane2012-02-10
| | | | | if it doesn't start w space or punctuation. Otherwise we get no space between the year and the suffix in author-date styles.
* Test suite: Don't print 'expected' in red.John MacFarlane2012-02-10
|
* Added test case for issue #186 (\$ in latex math).John MacFarlane2012-02-07
|
* Added test case for issue #186 (\$ in latex math).John MacFarlane2012-02-07
|
* LaTeX reader: use raw latex as fallback for Cites.John MacFarlane2012-02-06
| | | | | | | This way you can still get the raw latex back, even if you don't process with citeproc. Previously, cites were not visible at all unless you specified --biblio on the command line and converted them using citeproc, or used --natbib or --biblatex.
* Changed infix level of testing combinators.John MacFarlane2012-02-05
| | | | | This avoids clash with (<>), which is defined in Data.Monoid as having infix 6.
* Complete rewrite of LaTeX reader.John MacFarlane2012-02-04
| | | | | | | | | | | | | | | | | | | | | | | * The new reader is more robust, accurate, and extensible. It is still quite incomplete, but it should be easier now to add features. * Text.Pandoc.Parsing: Added withRaw combinator. * Markdown reader: do escapedChar before raw latex inline. Otherwise we capture commands like \{. * Fixed latex citation tests for new citeproc. * Handle \include{} commands in latex. This is done in pandoc.hs, not the (pure) latex reader. But the reader exports the needed function, handleIncludes. * Moved err and warn from pandoc.hs to Shared. * Fixed tests - raw tex should sometimes have trailing space. * Updated lhs-test for highlighting-kate changes.
* Removed header 1 property from ConTeXt tests.John MacFarlane2011-12-30
| | | | It didn't work with new ids.
* Updated ConTeXt tests.John MacFarlane2011-12-30
|
* Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings.John MacFarlane2011-12-27
|
* Added some failing test cases for apostrophes in French.John MacFarlane2011-12-26
|
* Removed highlighting flag. Highlighting support is now standard.John MacFarlane2011-12-22
|
* Use pandoc-types 1.9.*.John MacFarlane2011-12-13
|
* Fixed tests for escapes in markdown titles, URLs.John MacFarlane2011-12-05
|
* Fixed tests for escapes in links.John MacFarlane2011-12-05
|
* Added more failing tests relating to issue #312.John MacFarlane2011-12-05
|
* Added failing test for escape in markdown link title.John MacFarlane2011-12-04
|
* Added failing test case for issue #312.John MacFarlane2011-12-01
|
* Added an asciidoc writer (partial).John MacFarlane2011-11-16
| | | | | | | | | | | | | Still TODO: - documentation in README - add default.asciidoc to templates/ - lists - tables - proper escaping - footnotes with blank lines - print separately at end? currently they are just ignored. - fix header (date gives weird result on pandoc README)
* TypeSynonymInstances no longer implies FlexibleInstances in GHC 7.2Antoine Latter2011-09-02
|
* Tweaked Arbitrary instance to help avoid timeouts in tests.John MacFarlane2011-07-31
|
* Smart quotes: handle '...hi' properly.John MacFarlane2011-07-25
| | | | Also added test case.
* Fixed test, added another markdown emph/strong test.John MacFarlane2011-06-22
|
* Added failing test case due to Perry Wagle.John MacFarlane2011-06-22
|
* Added Tests.Writers.Markdown.John MacFarlane2011-06-22
|
* Disallow notes within notes in reST and markdown.John MacFarlane2011-04-20
| | | | | | | | | | | | | | | These previously caused infinite looping and stack overflows. For example: [^1] [^1]: See [^1] Note references are allowed in reST notes, so this isn't a full implementation of reST. That can come later. For now we need to prevent the stack overflows. Partially resolves Issue #297.
* Allow '|' followed by newline in RST line block.John MacFarlane2011-04-11
|
* Changed uri parser so it doesn't include trailing punctuation.John MacFarlane2011-03-18
| | | | | | | | | | | | | | | So, in RST, 'http://google.com.' should be parsed as a link to 'http://google.com' followed by a period. The parser is smart enough to recognize balanced parentheses, as often occur in wikipedia links: 'http://foo.bar/baz_(bam)'. Also added ()s to RST specialChars, so '(http://google.com)' will be parsed as a link in parens. Added test cases. Resolves Issue #291.
* Fixed bug in RST field list parser.John MacFarlane2011-03-12
| | | | | The bug affected field lists with multi-line items at the end of the list.
* Markdown+lhs reader: Require space after inverse bird tracks.John MacFarlane2011-03-02
| | | | | | | The point of the change is to allow html tags to be used freely at the left margin of a markdown+lhs document. Thanks to Conal Elliot for the suggestion.
* HTML writer: stringify alt text.John MacFarlane2011-02-05
| | | | | | Previously, if you had formatting in the label of an Image element, you'd get escaped HTML in the alt attribute. Now you just get a plain string version, which seems preferable.
* Native writer test: in block list test, limit to list < 20 blocks.John MacFarlane2011-02-04
|
* Added cCommented-out round-trip property in markdown reader test.John MacFarlane2011-02-04
|
* Improved Arbitrary instance.John MacFarlane2011-02-04
|
* normalize: Normalize spaces too.John MacFarlane2011-02-04
| | | | | In normal form, Space elements only occur to separate two non-Space elements. So, we never have [Space], or [, ..., Space].
* Markdown reader: Simplified and corrected footnote block parser.John MacFarlane2011-02-01
|
* Added a (failing) test for footnotes.John MacFarlane2011-02-01
|
* Improved fix to markdown noteBlock parser.John MacFarlane2011-01-31
| | | | | | The last patch did not handle cases with > 4 spaces. Also added a more general test case.
* Markdown reader: Fixed whitespace footnote bug (Jesse Rosenthal).John MacFarlane2011-01-31
| | | | | | | | | | The problem was in input like this: [^1]: note not in note. Also added a test case for this.
* LaTeX reader: Fixed bug with whitespace at beginning of file.John MacFarlane2011-01-30
| | | | | Previously a file beginning " hi" would cause a parse error. Also cleaned up comment parsing.