Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-07-11 | Removed (>>~) function | Matthew Pickering | 1 | -4/+4 | |
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-10 | Fixed an issue caused by e4263d306e6988dd322c895242eb818d22b9e012. | John MacFarlane | 1 | -0/+5 | |
This sets `stateInHtmlBlock` to `Just "div"` when we're parsing an HTML div. Without this fix, a closing `</div>` tag could be parsed as part of a list item rather than after the list. | |||||
2014-07-10 | Markdown reader: Fixed regression with intraword underscores. | John MacFarlane | 1 | -10/+16 | |
Closes #1121. | |||||
2014-07-10 | Markdown reader: Slight rewrite of enclosure/emphOrStrong code. | John MacFarlane | 1 | -6/+8 | |
Semantics should be the same. | |||||
2014-07-07 | Revamped raw HTML block parsing in markdown. | John MacFarlane | 1 | -42/+47 | |
- We no longer include trailing spaces and newlines in the raw blocks. - We look for closing tags for elements (but without backtracking). - Each block-level tag is its own RawBlock; we no longer try to consolidate them (though `--normalize` will do so). Closes #1330. | |||||
2014-06-23 | Markdown reader: Combine consecutive latex environments. | John MacFarlane | 1 | -2/+4 | |
This helps when you have two minipages which can't have blank lines between them. See #690, #1196. | |||||
2014-06-20 | Markdown reader: Support smallcaps through span. | John MacFarlane | 1 | -1/+6 | |
`<span style="font-variant:small-caps;">foo</span>` will be parsed as a `SmallCaps` inline, and will work in all output formats that support small caps. Closes #1360. | |||||
2014-06-20 | Markdown reader: Prevent spurious line breaks after list items. | John MacFarlane | 1 | -1/+2 | |
When the `hard_line_breaks` option was specified, pandoc would produce a spurious line break after a tight list item. This patch solves the problem. Closes #1137. | |||||
2014-06-16 | Small improvement to fix to #1333. | John MacFarlane | 1 | -4/+1 | |
This allows blank lines at end of multiline headers. | |||||
2014-06-16 | Markdown reader: fixed #1333 (table parsing bug). | John MacFarlane | 1 | -5/+6 | |
2014-05-27 | Markdown reader: Handle `c++` and `objective-c` as language identifiers | John MacFarlane | 1 | -1/+8 | |
in github-style fenced blocks. Closes #1318. Note: This is special-case handling of these two cases. It would be good to do something more systematic. | |||||
2014-05-14 | Move `citeKey` from Readers.Markdown to Parsing | Albert Krewinkel | 1 | -14/+0 | |
The function can be used by other readers, so it is made accessible for all parsers. | |||||
2014-05-14 | Introduce class HasLastStrPosition, generalize functions | Albert Krewinkel | 1 | -8/+3 | |
Both `ParserState` and `OrgParserState` keep track of the parser position at which the last string ended. This patch introduces a new class `HasLastStrPosition` and makes the above types instances of that class. This enables the generalization of functions updating the state or checking if one is right after a string. | |||||
2014-05-09 | Update copyright notices for 2014, add missing notices | Albert Krewinkel | 1 | -2/+2 | |
2014-05-04 | Fixed the fix to #1154. | John MacFarlane | 1 | -1/+1 | |
We need to strip off up to 4 spaces, not up to 3. | |||||
2014-05-04 | Markdown reader: Fixed bug with unwanted code in lists. | John MacFarlane | 1 | -0/+1 | |
Closes #1154. When reading a raw list item, we now strip off nonindent spaces. | |||||
2014-05-02 | Fixed empty reference links. Closes #1186. | John MacFarlane | 1 | -3/+1 | |
Includes test. | |||||
2014-05-01 | Markdown reader: Make one-column pipe tables work. | John MacFarlane | 1 | -6/+16 | |
Closes #1218. | |||||
2014-04-24 | Render numbers in YAML metadata without decimals when possible. | John MacFarlane | 1 | -1/+6 | |
The change to aeson > 0.7 caused numbers to be rendered with decimals. This change causes them to be rendered without decimals wehn possible. | |||||
2014-04-19 | Move `compactify'DL` from Markdown reader into Shared | Albert Krewinkel | 1 | -17/+0 | |
The function `compactify'DL`, used to change the final definition item of a definition list into a `Plain` iff all other items are `Plain`s as well, is useful in many parsers and hence moved into Text.Pandoc.Shared. | |||||
2014-04-01 | Changed the smart punctuation parser to return Inlines rather than an Inline ↵ | Matthew Pickering | 1 | -1/+1 | |
element and updated files accordingly | |||||
2014-03-24 | Markdown reader: Fixed regression on line breaks in strict mode. | John MacFarlane | 1 | -1/+1 | |
Closes #1203. | |||||
2014-02-26 | Markdown reader: Improved parsing of nested divs. | John MacFarlane | 1 | -0/+2 | |
Formerly a closing div tag would be missed if it came right after other block-level tags. | |||||
2014-02-26 | Markdown parser: avoid backtracking when closing `</div>` not found. | John MacFarlane | 1 | -6/+13 | |
2014-02-26 | Markdown reader: small efficiency improvement. | John MacFarlane | 1 | -1/+1 | |
Switched `notFollewdBy' rawHtmlBlocks` -> `notFollowedBy' (htmlTag isBlockTag)`, which is more efficient. | |||||
2014-02-25 | Added readerTrace to ReaderOptions, --trace command line opt. | John MacFarlane | 1 | -1/+11 | |
This is to debug backtracking-related parsing bugs. So far it is only implemented for markdown, but it would be good to extend it to latex and html readers. | |||||
2014-02-21 | Fixed bug in reference link parsing in markdown_mmd. | John MacFarlane | 1 | -1/+1 | |
The bug was triggered by: Link to [Google][]. Link to [twitter][]. [Google]: http://google.com [twitter]: http://twitter.com | |||||
2014-02-04 | Slight code reorganization in endline. | John MacFarlane | 1 | -5/+3 | |
2014-01-09 | Markdown parser: be more permissive about citation keys. | John MacFarlane | 1 | -3/+4 | |
Keys may now start with an underscore as well as a letter. Underscores do not count as internal punctuation, but are treated like alphanumerics, so "key:_2008" will work, as it did not before. (This change was necessary to use keys generated by zotero.) Closes #1111, closes #1011. | |||||
2014-01-07 | Markdown reader: Allow hard line breaks in table cells. | John MacFarlane | 1 | -3/+3 | |
The \-newline form must be used; the two-space+newline form won't work, since in a table cell nearly every line ends with two spaces. | |||||
2013-12-19 | HLint: use fromMaybe | Henry de Valence | 1 | -2/+2 | |
Replace uses of `maybe x id` with `fromMaybe x`. | |||||
2013-12-19 | HLint: redundant parens | Henry de Valence | 1 | -1/+1 | |
Remove parens enclosing a single element. | |||||
2013-12-19 | HLint: use `elem` and `notElem` | Henry de Valence | 1 | -4/+4 | |
Replaces long conditional chains with calls to `elem` and `notElem`. | |||||
2013-12-15 | Properly handle script blocks in strict mode. | John MacFarlane | 1 | -1/+3 | |
(That is, markdown-markdown_in_html_blocks.) Previously a spurious `<p>` tag was being added. Closes #1093. | |||||
2013-12-12 | Markdown reader: Fixed regression in title blocks. | John MacFarlane | 1 | -4/+4 | |
If author field was empty, date was being ignored. Closes #1089. | |||||
2013-12-07 | Another small performance improvement. | John MacFarlane | 1 | -3/+5 | |
2013-12-07 | Small performance improvement in list parsing. | John MacFarlane | 1 | -2/+3 | |
2013-12-07 | Markdown reader: Fixed bug with literal `</div>` in lists. | John MacFarlane | 1 | -3/+4 | |
Closes #1078. | |||||
2013-12-06 | HTML reader: Parse LaTeX math if appropriate options are set. | John MacFarlane | 1 | -33/+0 | |
* Moved inlineMath, displayMath from Markdown reader to Parsing. * Export them from Parsing. (API change.) * Generalize their types. | |||||
2013-12-04 | Stop parsing "list lines" when we hit a block tag. | John MacFarlane | 1 | -1/+3 | |
This fixes exponential slowdown in certain input, e.g. a series of lists followed by `</div>`. | |||||
2013-11-22 | Fixed bug with intraword emphasis. | John MacFarlane | 1 | -1/+2 | |
Closes #1066. | |||||
2013-11-03 | Markdown reader: Correctly handle empty bullet list items. | John MacFarlane | 1 | -4/+5 | |
For example: - one - - two This should NOT be parsed as a setext header followed by a list. | |||||
2013-10-29 | Markdown reader: Yaml block must start immediately after `---`. | John MacFarlane | 1 | -0/+1 | |
If there's a blank line after `---`, we interpreted it as a horizontal rule. | |||||
2013-09-14 | Markdown reader: unresolved citations fall back to original text. | John MacFarlane | 1 | -11/+14 | |
Not ???. Reason: Less surprising, especially for people using @ as in twitter. | |||||
2013-09-09 | Markdown: don't parse citation right after alphanumeric. | John MacFarlane | 1 | -0/+5 | |
An `@` after an alphanumeric is probably an email address. | |||||
2013-09-08 | markdown+list_without_preceding_blankline:+Interpret text before list as ↵ | John MacFarlane | 1 | -3/+5 | |
paragraph. | |||||
2013-09-08 | Markdown: Allow backtick code blocks not to be preceded by blank line. | John MacFarlane | 1 | -0/+3 | |
Closes #975. | |||||
2013-09-07 | Added `lists_without_preceding_blankline` extension. | John MacFarlane | 1 | -0/+1 | |
* Added `Ext_lists_without_preceding_blankline` to `Extension` in `Options`. Added this option to `githubMarkdownExtensions`. * Made markdown reader sensitive to this. * Closes #972. | |||||
2013-09-01 | Markdown reader: Don't autolink a bare URI that is followed by `</a>`. | John MacFarlane | 1 | -0/+1 | |
Closes #937. | |||||
2013-09-01 | Factored out registerHeader from markdown reader, added to Parsing. | John MacFarlane | 1 | -28/+2 | |
Text.Pandoc.Parsing now exports registerHeader, which can be used in other readers. |