Commit graph

14 commits

Author SHA1 Message Date
John MacFarlane
b2c58c11b2 Added more failing tests relating to issue #312. 2011-12-05 19:07:17 -08:00
John MacFarlane
a4364b3784 Added failing test for escape in markdown link title. 2011-12-04 22:37:28 -08:00
John MacFarlane
7a09873a0b Added failing test case for issue #312. 2011-12-01 19:47:25 -08:00
John MacFarlane
0f0c1579f8 Smart quotes: handle '...hi' properly.
Also added test case.
2011-07-25 23:49:45 -07:00
John MacFarlane
9b5f1cba21 Fixed test, added another markdown emph/strong test. 2011-06-22 20:37:57 -07:00
John MacFarlane
5611057e06 Added failing test case due to Perry Wagle. 2011-06-22 20:18:32 -07:00
John MacFarlane
b42c48e919 Disallow notes within notes in reST and markdown.
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-04-20 11:42:27 -07:00
John MacFarlane
eebd77829c Markdown+lhs reader: Require space after inverse bird tracks.
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-03-02 12:47:17 -08:00
John MacFarlane
c686010a92 Added cCommented-out round-trip property in markdown reader test. 2011-02-04 18:33:08 -08:00
John MacFarlane
d4b71a6423 Markdown reader: Simplified and corrected footnote block parser. 2011-02-01 22:35:27 -08:00
John MacFarlane
1edeea5d60 Added a (failing) test for footnotes. 2011-02-01 07:37:22 -08:00
John MacFarlane
e898f0abef Improved fix to markdown noteBlock parser.
The last patch did not handle cases with > 4 spaces.

Also added a more general test case.
2011-01-31 20:42:49 -08:00
John MacFarlane
f282b462bb Markdown reader: Fixed whitespace footnote bug (Jesse Rosenthal).
The problem was in input like this:

[^1]:  note

not in note.

Also added a test case for this.
2011-01-31 20:05:11 -08:00
John MacFarlane
570d8ff08c Moved tests to src. 2011-01-29 11:24:16 -08:00
Renamed from tests/Tests/Readers/Markdown.hs (Browse further)