aboutsummaryrefslogtreecommitdiff
path: root/tests/textile-reader.textile
AgeCommit message (Collapse)AuthorFilesLines
2016-01-02Textile reader: don't allow block HTML tags in inline contexts.John MacFarlane1-4/+1
The reader previously did allow this, following redcloth, which happily parses Html blocks can be <div>inlined</div> as well. as <p>Html blocks can be <div>inlined</div> as well.</p> This is invalid HTML, and this kind of thing can lead to parsing problems (stack overflows) as well. So this commit undoes this behavior. The above sample now produces; <p>Html blocks can be</p> <div> <p>inlined</p> </div> <p>as well.</p>
2014-08-14Make `raw_tex` extension non-default for textile reader, writer.John MacFarlane1-11/+0
Enable `raw_tex` extension in textile writer. Closes #1532.
2014-08-11Textile reader: list and HTML block parsing improvements.John MacFarlane1-0/+6
Closes #1513. Lists can now start without an intervening blank line. Also, html block-level tags that don't start a line are parsed as RawInline and don't interrupt paragraphs, as in RedCloth.
2014-08-08Textile reader: fixed list parsing bug. Closes #1500.John MacFarlane1-0/+6
2014-04-01Tests updated to reflect changes to readers.Matthew Pickering1-3/+3
Previously normalisation was handled by the `normalizeSpaces` function. The behavoir of the builder monoid is slightly different and melds together more items such as consecutive strings and spaces adjacent to line breaks. The tests have been changed to reflect this. All relevant tests passed when the string melding line of the builder monoid was commented out.
2013-06-11Textile reader: Correctly handle entities.John MacFarlane1-0/+5
2013-02-16Textile reader: Handle attributes on headers.John MacFarlane1-1/+1
Includes `[lang]`, `(class #id)`, `{color:red}` styles.
2012-11-06Textile reader/writer: Fixed autolinks.John MacFarlane1-1/+1
Previously the textile reader and writer incorrectly implented RST-style autolinks for URLs and email addresses. This has been fixed. Now an autolink is done this way: "$":http://myurl.com
2012-10-13Textile reader: Fixed bug with list items containing line breaks.John MacFarlane1-0/+6
Now pandoc correctly handles hard line breaks inside list items. Previously they broke list parsing. Thanks to Pablo Rodríguez for pointing out the problem.
2012-10-05Textile reader: Implemented comment blocks.John MacFarlane1-0/+7
2012-08-25Added (failing) test case for #518.John MacFarlane1-1/+3
2012-07-13Textile reader: properly handle links with surrounding brackets.John MacFarlane1-0/+2
Square brackets need to be used when the link isn't surrounded by spaces or punctuation, or when the URL ending may be ambiguous. Closes #564.
2012-05-29Textile reader: fix for `<notextile>` and `==`.paul.rivier1-0/+11
Closes #517.
2012-04-24textile reader improvements : better conformance to RedCloth Textile inlinespaul.rivier1-2/+3
2012-04-17Textile reader quick clean-up and added support for LaTeX blocks and inlines.paul.rivier1-0/+11
2011-07-10Textile reader: Make it possible to have colons after links.Christoffer Sawicki1-0/+2
2011-01-23Textile reader: Fixed bug (swallowed p at beginning of paragraph).John MacFarlane1-0/+2
The problem was a missing 'try' in the maybeExplicitBlock parser. Test case, a paragraph beginning with 'p', has been added.
2011-01-23Textile reader: Support <tt> for inline code.John MacFarlane1-0/+2
2011-01-23Textile reader: Added code blocks with bc.John MacFarlane1-0/+3
2010-12-09textile redcloth definition listspaul.rivier1-0/+10
2010-12-08Textile reader: Implemented footnotes.John MacFarlane1-0/+7
2010-12-07Textile reader: implemented acronyms, (tm), (r), (c).John MacFarlane1-0/+12
2010-12-03punctuation handling, and more html-specific handlingpaul.rivier1-13/+15
2010-12-03html inlines and html blocks handling in textile readerPaul Rivier1-0/+15
2010-12-03textile reader now ignores html/css attributesPaul Rivier1-0/+12
2010-12-03fix autolink by promoting it in the parser list, fix table parabreakPaul Rivier1-7/+2
2010-12-03more support for Textile reader (explicit links, images), tests and cabal ↵Paul Rivier1-0/+156
entries