aboutsummaryrefslogtreecommitdiff
path: root/src/Tests
AgeCommit message (Collapse)AuthorFilesLines
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-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-05HTML writer: stringify alt text.John MacFarlane1-0/+5
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.
2011-02-04Native writer test: in block list test, limit to list < 20 blocks.John MacFarlane1-2/+3
2011-02-04Added cCommented-out round-trip property in markdown reader test.John MacFarlane1-0/+18
2011-02-04Improved Arbitrary instance.John MacFarlane1-32/+45
2011-02-04normalize: Normalize spaces too.John MacFarlane1-0/+5
In normal form, Space elements only occur to separate two non-Space elements. So, we never have [Space], or [, ..., Space].
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-30LaTeX reader: Fixed bug with whitespace at beginning of file.John MacFarlane1-0/+9
Previously a file beginning " hi" would cause a parse error. Also cleaned up comment parsing.
2011-01-29Added HTML writer tests for inline code.John MacFarlane1-0/+41
2011-01-29Moved tests to src.John MacFarlane9-0/+838