Commit graph

7 commits

Author SHA1 Message Date
John MacFarlane
1dba82f25e Got rid of stateStandalone, which was hardly used anyway.
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-25 20:08:42 -07:00
John MacFarlane
1f20f77712 Changed infix level of testing combinators.
This avoids clash with (<>), which is defined in Data.Monoid
as having infix 6.
2012-02-05 13:23:06 -08:00
John MacFarlane
78816497f3 Use pandoc-types 1.9.*. 2011-12-13 14:29:07 -08:00
John MacFarlane
4b90ffe1bd Allow '|' followed by newline in RST line block. 2011-04-11 14:45:42 -07:00
John MacFarlane
6beba76f61 Changed uri parser so it doesn't include trailing punctuation.
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-18 11:30:20 -07:00
John MacFarlane
403bb521cd Fixed bug in RST field list parser.
The bug affected field lists with multi-line items at the
end of the list.
2011-03-12 17:08:23 -08:00
John MacFarlane
570d8ff08c Moved tests to src. 2011-01-29 11:24:16 -08:00
Renamed from tests/Tests/Readers/RST.hs (Browse further)