Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-01-02 | Textile reader: don't allow block HTML tags in inline contexts. | John MacFarlane | 1 | -4/+5 | |
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> | |||||
2015-11-19 | Merge branch 'new-image-attributes' of https://github.com/mb21/pandoc into ↵ | John MacFarlane | 1 | -8/+8 | |
mb21-new-image-attributes * Bumped version to 1.16. * Added Attr field to Link and Image. * Added `common_link_attributes` extension. * Updated readers for link attributes. * Updated writers for link attributes. * Updated tests * Updated stack.yaml to build against unreleased versions of pandoc-types and texmath. * Fixed various compiler warnings. Closes #261. TODO: * Relative (percentage) image widths in docx writer. * ODT/OpenDocument writer (untested, same issue about percentage widths). * Update pandoc-citeproc. | |||||
2015-10-30 | Textile reader: don't do smart punctuation unless explicitly asked. | John MacFarlane | 1 | -8/+8 | |
Closes #2480. Note that although smart punctuation is part of the textile spec, it's not always wanted when converting from textile to, say, Markdown. So it seems better to make this an option. | |||||
2015-08-07 | Updated tests for link attribute changes. | mb21 | 1 | -7/+7 | |
2015-08-07 | Updated tests for image attribute changes. | John MacFarlane | 1 | -1/+1 | |
2014-08-14 | Make `raw_tex` extension non-default for textile reader, writer. | John MacFarlane | 1 | -4/+0 | |
Enable `raw_tex` extension in textile writer. Closes #1532. | |||||
2014-08-11 | Textile reader: list and HTML block parsing improvements. | John MacFarlane | 1 | -6/+7 | |
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-08 | Textile reader: fixed list parsing bug. Closes #1500. | John MacFarlane | 1 | -0/+4 | |
2014-04-05 | Textile reader: Better support for attributes. | John MacFarlane | 1 | -1/+1 | |
Instead of being ignored, attributes are now parsed and included in Span inlines. The output will be a bit different from stock textile: e.g. for `*(foo)hi*`, we'll get `<em><span class="foo">hi</span></em>` instead of `<em class="foo">hi</em>`. But at least the data is not lost. | |||||
2014-04-05 | Textile reader: Improved treatment of HTML spans (%). | John MacFarlane | 1 | -1/+1 | |
Closes #1115. | |||||
2014-04-01 | Tests updated to reflect changes to readers. | Matthew Pickering | 1 | -46/+45 | |
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-09-01 | Use registerHeader in Textile reader. | John MacFarlane | 1 | -29/+29 | |
This produces automatic header identifiers, unless `auto_identifiers` extension is disabled. Closes #967. | |||||
2013-08-16 | Updated tests for latest pandoc-types changes. | John MacFarlane | 1 | -1/+1 | |
2013-08-14 | Updated for removed unMeta, unFormat in pandoc-types. | John MacFarlane | 1 | -9/+9 | |
2013-08-10 | Updated tests for new Format. | John MacFarlane | 1 | -8/+8 | |
2013-07-25 | Textile reader: Improved handling of `<pre>` blocks. | John MacFarlane | 1 | -1/+1 | |
* Closed #927 (a bug in which `<pre>` in certain contexts was not recognized as a code block). * Remove internal HTML tags in code blocks, rather than printing them verbatim. * Parse attributes on `<pre>` tag for code blocks. | |||||
2013-06-25 | Some test suite fixes for new metadata. | John MacFarlane | 1 | -1/+1 | |
2013-06-11 | Textile reader: Correctly handle entities. | John MacFarlane | 1 | -0/+2 | |
2013-02-16 | Textile reader: Handle attributes on headers. | John MacFarlane | 1 | -1/+1 | |
Includes `[lang]`, `(class #id)`, `{color:red}` styles. | |||||
2013-01-09 | Added Attr field to Header. | John MacFarlane | 1 | -29/+29 | |
Previously header ids were autogenerated by the writers. Now they are generated (unless supplied explicitly) in the markdown parser, if the `header_identifiers` extension is selected. In addition, the textile reader now supports id attributes on headers. | |||||
2012-11-06 | Textile reader/writer: Fixed autolinks. | John MacFarlane | 1 | -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-13 | Textile reader: Fixed bug with list items containing line breaks. | John MacFarlane | 1 | -0/+4 | |
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-05 | Textile reader: Implemented comment blocks. | John MacFarlane | 1 | -1/+4 | |
2012-09-06 | Fixed footnotes bug in textile. | John MacFarlane | 1 | -1/+1 | |
This affected notes occuring before punctuation, e.g. `foo[1].`. Closes #518. | |||||
2012-08-25 | Added (failing) test case for #518. | John MacFarlane | 1 | -1/+1 | |
2012-07-13 | Textile reader: properly handle links with surrounding brackets. | John MacFarlane | 1 | -0/+1 | |
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-29 | Textile reader: fix for `<notextile>` and `==`. | paul.rivier | 1 | -0/+4 | |
Closes #517. | |||||
2012-04-24 | textile reader improvements : better conformance to RedCloth Textile inlines | paul.rivier | 1 | -3/+3 | |
2012-04-17 | Textile reader quick clean-up and added support for LaTeX blocks and inlines. | paul.rivier | 1 | -0/+4 | |
2011-12-27 | Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings. | John MacFarlane | 1 | -8/+8 | |
2011-07-10 | Textile reader: Make it possible to have colons after links. | Christoffer Sawicki | 1 | -0/+1 | |
2011-01-26 | Add support for attributes in inline Code. | John MacFarlane | 1 | -1/+1 | |
Additional related changes: * URLs in Code in autolinks now use class "url". * Require highlighting-kate 0.2.8.2, which omits the final <br/> tag, essential for inline code. | |||||
2011-01-26 | Bumped version to 1.8; depend on pandoc-types 1.8. | John MacFarlane | 1 | -6/+6 | |
The old TeX, HtmlInline and RawHtml elements have been removed and replaced by generic RawInline and RawBlock elements. All modules updated to use the new raw elements. | |||||
2011-01-23 | Textile reader: Fixed bug (swallowed p at beginning of paragraph). | John MacFarlane | 1 | -0/+1 | |
The problem was a missing 'try' in the maybeExplicitBlock parser. Test case, a paragraph beginning with 'p', has been added. | |||||
2011-01-23 | Textile reader: Support <tt> for inline code. | John MacFarlane | 1 | -0/+1 | |
2011-01-23 | Textile reader: Added code blocks with bc. | John MacFarlane | 1 | -0/+1 | |
2011-01-21 | Make sure native output ends in newline with --standalone. | John MacFarlane | 1 | -1/+1 | |
2011-01-20 | Updated tests for new native format. | John MacFarlane | 1 | -149/+144 | |
2010-12-09 | textile redcloth definition lists | paul.rivier | 1 | -0/+14 | |
2010-12-09 | Textile reader: better treatment of acronyms. | John MacFarlane | 1 | -1/+1 | |
We now parse PBS(Public Broadcasting System) as if it were "PBS (Public Broadcasting System)". | |||||
2010-12-08 | Textile reader: Implemented footnotes. | John MacFarlane | 1 | -2/+4 | |
2010-12-07 | Moved smartPunctuation from Markdown to Parsing. | John MacFarlane | 1 | -8/+8 | |
+ Parameterized smartPunctuation on an inline parser. + Handle smartPunctuation in Textile reader. | |||||
2010-12-07 | Textile reader: implemented acronyms, (tm), (r), (c). | John MacFarlane | 1 | -1/+7 | |
2010-12-03 | Textile reader: added hrule parser. | John MacFarlane | 1 | -1/+1 | |
2010-12-03 | Textile reader: drop leading, trailing newline in pre block. | John MacFarlane | 1 | -2/+2 | |
This is consistent with how the other readers work. | |||||
2010-12-03 | Textile reader: updated test suite to include raw HTML. | John MacFarlane | 1 | -6/+6 | |
2010-12-03 | punctuation handling, and more html-specific handling | paul.rivier | 1 | -35/+33 | |
2010-12-03 | html inlines and html blocks handling in textile reader | Paul Rivier | 1 | -1/+15 | |
2010-12-03 | textile reader now ignores html/css attributes | Paul Rivier | 1 | -1/+14 | |
2010-12-03 | fix autolink by promoting it in the parser list, fix table parabreak | Paul Rivier | 1 | -19/+2 | |