aboutsummaryrefslogtreecommitdiff
path: root/src/Tests/Readers/Markdown.hs
AgeCommit message (Collapse)AuthorFilesLines
2012-07-25Changed reader parameters from ParserState to ReaderOptions.John MacFarlane1-7/+4
2012-07-25Moved stateLiterateHaskell to readerLiterateHaskell in Options.John MacFarlane1-1/+2
2012-07-25Got rid of stateStandalone, which was hardly used anyway.John MacFarlane1-1/+1
The only possible effect will be with rst fragments that begin with an rst title block, which will now cause the header transform.
2012-07-25Options -> ReaderOptions.John MacFarlane1-1/+1
Better to keep reader and writer options separate.
2012-07-25Put smart, strict in separate options field in state.John MacFarlane1-1/+3
This is the beginning of a larger transition that will make Options, not ParserState, the parameter of the read functions. (Options will also be used in writers, in place of WriterOptions.) Next step is to remove strict, replacing it with granular tests for different extensions.
2012-02-05Changed infix level of testing combinators.John MacFarlane1-1/+1
This avoids clash with (<>), which is defined in Data.Monoid as having infix 6.
2011-12-27Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings.John MacFarlane1-1/+1
2011-12-26Added some failing test cases for apostrophes in French.John MacFarlane1-0/+6
2011-12-13Use pandoc-types 1.9.*.John MacFarlane1-11/+10
2011-12-05Fixed tests for escapes in markdown titles, URLs.John MacFarlane1-3/+3
2011-12-05Fixed tests for escapes in links.John MacFarlane1-4/+4
2011-12-05Added more failing tests relating to issue #312.John MacFarlane1-1/+7
2011-12-04Added failing test for escape in markdown link title.John MacFarlane1-0/+3
2011-12-01Added failing test case for issue #312.John MacFarlane1-0/+5
2011-07-25Smart quotes: handle '...hi' properly.John MacFarlane1-0/+9
Also added test case.
2011-06-22Fixed test, added another markdown emph/strong test.John MacFarlane1-3/+7
2011-06-22Added failing test case due to Perry Wagle.John MacFarlane1-0/+7
2011-04-20Disallow notes within notes in reST and markdown.John MacFarlane1-0/+3
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.
2011-03-02Markdown+lhs reader: Require space after inverse bird tracks.John MacFarlane1-0/+10
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.
2011-02-04Added cCommented-out round-trip property in markdown reader test.John MacFarlane1-0/+18
2011-02-01Markdown reader: Simplified and corrected footnote block parser.John MacFarlane1-1/+1
2011-02-01Added a (failing) test for footnotes.John MacFarlane1-1/+4
2011-01-31Improved fix to markdown noteBlock parser.John MacFarlane1-8/+3
The last patch did not handle cases with > 4 spaces. Also added a more general test case.
2011-01-31Markdown reader: Fixed whitespace footnote bug (Jesse Rosenthal).John MacFarlane1-0/+10
The problem was in input like this: [^1]: note not in note. Also added a test case for this.
2011-01-29Moved tests to src.John MacFarlane1-0/+29