Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-08-07 | Updated readers, writers and README for link attribute | mb21 | 1 | -14/+4 | |
2015-08-07 | Updated readers and writers for new image attribute parameter. | John MacFarlane | 1 | -1/+7 | |
(mb21) | |||||
2015-07-27 | HTML Reader: Detect font-variant with pickStyleAttrProps | Ophir Lifshitz | 1 | -6/+5 | |
2015-07-24 | HTML Reader: Parse <ol> type, class, and inline list-style(-type) CSS | Ophir Lifshitz | 1 | -17/+30 | |
2015-07-21 | Fix regression: allow HTML comments containing `--`. | John MacFarlane | 1 | -4/+4 | |
Technically this isn't allowed in an HTML comment, but we've always allowed it, and so do most other implementations. It is handy if e.g. you want to put command line arguments in HTML comments. | |||||
2015-07-21 | HTML reader: handle type attribute on ol. | John MacFarlane | 1 | -1/+8 | |
E.g. `<ol type="i">`. Closes #2313. | |||||
2015-07-10 | Avoid parsing partial URLs as HTML tags. | John MacFarlane | 1 | -1/+8 | |
Closes #2277. | |||||
2015-06-04 | HTML reader: allow `<body>` to close `<head>`. | John MacFarlane | 1 | -0/+1 | |
2015-05-13 | HTML reader: Support base tag. | John MacFarlane | 1 | -7/+28 | |
We only support the href attribute, as there's no place for "target" in the Pandoc document model for links. Added HTML reader test module, with tests for this feature. Closes #1751. | |||||
2015-05-11 | HTML reader: Fixed detection of self-closing tags. | John MacFarlane | 1 | -2/+2 | |
Earlier versions had a bug and would wrongly think opening tags containing attributes with slashes in them were self-closing. Closes #2146. | |||||
2015-04-29 | HTML reader: Allow multiple colgroups in table. | John MacFarlane | 1 | -1/+1 | |
Closes #2122. | |||||
2015-04-26 | Updated copyright notices to -2015. Closes #2111. | John MacFarlane | 1 | -2/+2 | |
2015-04-17 | More principled fix for #1820. | John MacFarlane | 1 | -5/+7 | |
If the tag parses as a comment, we check to see if the input starts with `<!--`. If not, it's bogus comment mode and we fail htmlTag. Includes test case. Closes #1820. | |||||
2015-04-17 | Fixed `htmlTag` in HTML reader. | John MacFarlane | 1 | -1/+1 | |
Require that `<!` or `<?` be followed by nonspace. This prevents `</ div>` from being parsed as a comment. Closes #1820. | |||||
2015-02-18 | Move utility error functions to Text.Pandoc.Shared | Matthew Pickering | 1 | -1/+1 | |
2015-02-18 | Change return type of HTML reader | Matthew Pickering | 1 | -5/+12 | |
2015-01-25 | fixes #1859 HTML Reader table parsing | mb21 | 1 | -11/+22 | |
2014-11-16 | Make `embed` tag either block or inline. | John MacFarlane | 1 | -2/+2 | |
Closes #1756. | |||||
2014-09-25 | HTML Reader: Recognise <br> tags inside <pre> blocks | mpickering | 1 | -1/+6 | |
Closes #1620 | |||||
2014-08-18 | HTML reader: improved handling of tags that can be block or inline. | John MacFarlane | 1 | -5/+13 | |
Previously a section like this would be enclosed in a paragraph, with RawInline for the video tags (since video is a tag that can be either block or inline): <video controls="controls"> <source src="../videos/test.mp4" type="video/mp4" /> <source src="../videos/test.webm" type="video/webm" /> <p> The videos can not be played back on your system.<br/> Try viewing on Youtube (requires Internet connection): <a href="http://youtu.be/etE5urBps_w">Relative Velocity on Youtube</a>. </p> </video> This change will cause the video and source tags to be parsed as RawBlock instead, giving better output. The general change is this: when we're parsing a "plain" sequence of inlines, we don't parse anything that COULD be a block-level tag. | |||||
2014-08-16 | HTML reader: Parse appropriately styled span as SmallCaps. | John MacFarlane | 1 | -1/+6 | |
2014-08-12 | EPUB Reader: Ignore title pages | Matthew Pickering | 1 | -4/+10 | |
2014-08-08 | Added `native_divs` and `native_spans` extensions. | John MacFarlane | 1 | -1/+4 | |
This allows users to turn off the default pandoc behavior of parsing contents of div and span tags in markdown and HTML as native pandoc Div blocks and Span inlines. Setting of default epub extensions has been moved from the EPUB reader to Text.Pandoc. | |||||
2014-08-08 | HTML EPUB exts: switch element can now be in either the inline or block position | Matthew Pickering | 1 | -9/+10 | |
2014-08-07 | HTML reader: Really ignore DOCTYPE and xml declarations. | John MacFarlane | 1 | -2/+2 | |
This actually does what d71b013841f3c9c8c595591e312a31df16a728cb said it did. Revised epub tests to remove the repeated DOCTYPE and xml tags. | |||||
2014-08-04 | HTML reader: ignore <?xml..> and <DOCTYPE..> tags. | John MacFarlane | 1 | -1/+1 | |
Previously they were parsed as raw. | |||||
2014-08-04 | Use texmath 0.7 interface. | John MacFarlane | 1 | -2/+2 | |
2014-07-31 | HTML Reader: Added ability to read MathML formatted <math> blocks | Matthew Pickering | 1 | -0/+16 | |
2014-07-31 | HTML Reader: Added support for anchors on links and list items | Matthew Pickering | 1 | -4/+22 | |
2014-07-31 | HTML Reader: Extended HTML Reader to recognise EPUB specific elements | Matthew Pickering | 1 | -28/+178 | |
2014-07-26 | Generalised more in Parsing.hs to enable the use of custom state | Matthew Pickering | 1 | -18/+61 | |
2014-07-20 | HTML reader: parse Div and Span elements even without `--parse-raw`. | John MacFarlane | 1 | -2/+0 | |
Closes #1434. | |||||
2014-07-11 | Removed (>>~) function | Matthew Pickering | 1 | -3/+3 | |
This function is equivalent to the more general (<*) which is defined in Control.Applicative. This change makes pandoc code easier to understand for those not familar with the codebase. | |||||
2014-07-07 | HTML reader: adjust `blockTags` and `eitherBlockOrInline`. | John MacFarlane | 1 | -9/+13 | |
- Added `audio` and `source` in `eitherBlockOrInline`. - Moved `video`, `svg`, `progress`, `script`, `noscript`, `svg` from `blockTags` to `eitherBlockOrInline`. - `map` and `object` were mistakenly in both lists; they have been removed from `blockTags`. | |||||
2014-06-20 | HTML reader: Fix performance issue with malformed HTML tables. | John MacFarlane | 1 | -0/+2 | |
We let a `</table>` tag close an open `<tr>` or `<td>`. Closes #1167. | |||||
2014-06-20 | Support --trace in HTML reader. | John MacFarlane | 1 | -1/+10 | |
2014-06-19 | HTML reader: Allow space between `<col>` and `</col>`. | John MacFarlane | 1 | -0/+1 | |
Test case: ``` <table border="1"> <colgroup> <col> </col> <col></col> </colgroup> <tbody> <tr> <td>X</td> <td>Y</td> </tr> <tr> <td>1</td> <td>2</td> </tr> </tbody> </table> ``` | |||||
2014-06-16 | HTML reader: Fixed major parsing problem with HTML tables. | John MacFarlane | 1 | -15/+11 | |
Table cells were being combined into one cell. Closes #1341. | |||||
2014-06-16 | Moved extractSpaces to Shared.hs | mpickering | 1 | -13/+4 | |
Generalised and move the extractSpaces function from `HTML.hs` to `Shared.hs` so that the docx reader can also use it. | |||||
2014-05-09 | Update copyright notices for 2014, add missing notices | Albert Krewinkel | 1 | -2/+2 | |
2014-04-11 | HTML reader: Treat processing instructions & declarations as block. | John MacFarlane | 1 | -5/+9 | |
Previously these were treated as inline, and included in paragraph tags in HTML or DocBook output, which is generally not what is wanted. Closes #1233. | |||||
2014-04-05 | HTML reader: Updated `closes` with rules from HTML5 spec. | John MacFarlane | 1 | -5/+12 | |
2014-04-01 | HTML reader: idiomatic rewriting for clarity. | John MacFarlane | 1 | -5/+4 | |
2014-04-01 | Converted HTML reader to use builder. Fixes #1162. | Matthew Pickering | 1 | -109/+126 | |
2014-01-20 | HTML reader: Fixed bug reading inline math with `$$`. | John MacFarlane | 1 | -2/+2 | |
See #225. | |||||
2014-01-01 | HTML reader: Parse name/content pairs from meta tags as metadata. | John MacFarlane | 1 | -1/+10 | |
Closes #1106. | |||||
2013-12-19 | HLint: use fromMaybe | Henry de Valence | 1 | -2/+2 | |
Replace uses of `maybe x id` with `fromMaybe x`. | |||||
2013-12-06 | HTML reader: Parse LaTeX math if appropriate options are set. | John MacFarlane | 1 | -1/+8 | |
* Moved inlineMath, displayMath from Markdown reader to Parsing. * Export them from Parsing. (API change.) * Generalize their types. | |||||
2013-11-07 | recognize svg tag in HTML Reader | MinRK | 1 | -1/+1 | |
avoids adding lots of `<p>` tags in embedded SVG content, for instance in markdown to HTML. | |||||
2013-11-03 | HTML reader: Use pandoc Div and Span for raw "<div>", "<span>". | John MacFarlane | 1 | -10/+25 | |
Only if --parse-raw. |