aboutsummaryrefslogtreecommitdiff
path: root/src/Tests/Readers/RST.hs
AgeCommit message (Collapse)AuthorFilesLines
2011-04-11Allow '|' followed by newline in RST line block.John MacFarlane1-1/+4
2011-03-18Changed uri parser so it doesn't include trailing punctuation.John MacFarlane1-0/+8
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.
2011-03-12Fixed bug in RST field list parser.John MacFarlane1-0/+3
The bug affected field lists with multi-line items at the end of the list.
2011-01-29Moved tests to src.John MacFarlane1-0/+46