7bf7abaChanges to Markdown reader relating to definition lists: + fixed bug in indentSpaces (which didn't properly handle cases with mixed spaces and tabs) + rewrote definition list code to conform to new syntax + include definition lists in list block + failIfStrict on definition listsfiddlosopher
aca0467Added support for DefinitionList blocks to HTML writer. Cleaned up bullet and ordered list code by using ordList and unordList instead of raw olist and ulist.fiddlosopher
44cec96New syntax documentation for definition lists. Now we require a ':' at the beginning of the definition; otherwise, too many false positives for definition lists.fiddlosopher
2e794fdFixed bug in HTML email obfuscation using --strict mode. The problem is that the "href" function escapes &, so (href "l") is 'href="l"'. Fixed by using primHtml for the whole link. Resolves issue 9.fiddlosopher
115cad8Changed syntax of definition lists in Markdown parser: + definition blocks must be indented throughout (not just in first line) + compact lists can be formed by leaving no blank line between a definition and the next termfiddlosopher
d277baeAdded documentation for definition lists.fiddlosopher
5ec31ccAdded parser for definition lists, derived from reStructuredText syntax:fiddlosopher
0ce965fModified prettyPandoc to handle DefinitionList elements.fiddlosopher
68cd976Added definition for DefinitionList block element.fiddlosopher
d5f9b1dChange in ordered lists in Markdown reader: + Lists may begin with lowercase letters only, and only 'a' through 'n'. Otherwise first initials and page references (e.g., p. 400) are too easily parsed as lists. + Numbers beginning list items must end with '.' (not ')', which is now allowed only after letters). NOTE: This change may cause documents to be parsed differently. Users should take care in upgrading.fiddlosopher
f1191f0More smart quote adjustments: + remove support for all-caps contractions (too much potential for conflict with things like 'M. Mitterand') + add support for 'm as a contractionfiddlosopher
42ade05Smart quote parsing in Markdown reader: treat ' followed by ll, re, ve, then a non-letter, as a contraction. (e.g. I've, you're, he'll)fiddlosopher
402016dFixed bug in noscript part of email obfuscation: & instead of &fiddlosopher
21ba6b0Made image parsing in HTML reader sensitive to the --inline-links option.fiddlosopher
31c030eAdded --inline-links option to force links in HTML to be parsed as inline links, rather than reference links. (Addresses Issue #4.)fiddlosopher
f99ceddStrip executable binaries before installing.fiddlosopher
463a0e5Changes to test suite for new XHTML output.fiddlosopher
59065c1Modified HTML writer to use the Text.XHtml library. This results in cleaner, faster code, and it makes it easier to use Pandoc in other projects, like wikis, that use Text.XHtml. Two functions are now provided, writeHtml and writeHtmlString: the former outputs an Html structure, the latter a rendered string. The S5 writer is also changed, in parallel ways (writeS5, writeS5String). The Html header is now written programmatically, so it has been removed from the 'headers' directory. The S5 header is still needed, but the doctype and some of the meta declarations have been removed, since they are written programatically. The INSTALL file and cabalize have been updated to reflect the new dependency on the xhtml package.fiddlosopher
e0303df'cp -a' does not work in BSD. Replace with 'cp -R'. Note that we don't want user and group to be preserved, anyway.fiddlosopher
e9d66b8Modified changelog: note on defaultWriterOptions.fiddlosopher
3456355Added defaultWriterOptions to Shared.hs.fiddlosopher
90390b6Modified changelog to incorporate changes since the 0.3 release.fiddlosopher
06ff1feUse 'highlight' to produce syntax-highlighted versions of xml, html, and tex demo pages (in website /examples/). Add links so that html files can be viewed as web pages (without syntax highlighting).fiddlosopher
8138fc4Change extensions of example text files in website demo to '.text' -- the only reason for this is that I use '.txt' for page source files, and generally exclude them from being uploaded to the website.fiddlosopher
7d3382eIn writing Markdown, print unicode nonbreaking space (160) as " ", since otherwise it is hard to distinguish from a regular space. (Addresses Issue #3.)fiddlosopher
7a04caeEscape non-breaking space in SGML as ' ' instead of printing a unicode non-breaking space, which is hard to distinguish visually from a regular space. (Resolves issue #3.)fiddlosopher
1855af4Refactored str and strong in Markdown reader, for clarity.fiddlosopher
87eb8beGot rid of two unneeded 'getState's. Note that lookAhead automatically saves and restores the state.fiddlosopher
9ad7c73Use lookAhead instead of getInput/setInput in RST reader.fiddlosopher
d3efa4aUse lookAhead parser for the "first pass" looking for reference keys in Markdown parser, instead of parsing normally, then using setInput to reset input. Slight performance improvement.fiddlosopher
ae19b94Removed followedBy' parser from Text/ParserCombinators/Pandoc, replacing it with the 'lookAhead' parser from Text/ParserCombinators/Parsec.fiddlosopher
0114f68Introduced a new map, reverseEntityTable, for lookups of entity by character, in Entities.hs. This yields a small performance improvement.fiddlosopher
1266b18Changed Entities.hs to use Data.Map rather than an association list, for a slight performance boost.fiddlosopher
5a9b7c2Added freebsd directory, with freebsd port, to repository.fiddlosopher
7f65a4eFixed issue #8: slow performance in parsing inline literals in RST reader. The problem was that ``#`` was seen by 'inline' as a potential link or image. Fix: insert 'notFollowedBy (char '`')' in link parsers.fiddlosopher
6e467c2Replaced "choice [(try (string ...), ...]" idiom with "oneOfStrings" in LaTeX reader.fiddlosopher
f3437dd+ Added some needed "try"s before multicharacter parsers, especially in "option" contexts. + Removed the "try" from the "end" parser in "enclosed" (Text.Pandoc.Shared). Now "enclosed" behaves like "option", "manyTill", etc.fiddlosopher
73cbae7Added 'try' in front of 'string', where needed, or used a different parser, in RST reader. This fixes a bug where ````` would not be correctly parsed as a verbatim `.fiddlosopher
ca93680Allow the URI in a RST hyperlink target to start on the line after the reference key.fiddlosopher
df03ca2Added link to FreeBSD port in website.fiddlosopher
f7fcbf5Use "gaps" in copyrightMessage string for cleaner code formatting.fiddlosopher
6c3d96aChanged 'encodeEntities' to 'escapeSGMLString'.fiddlosopher
dc69255+ Simplified entity handling by removing stringToSGML from Entities.hs. It is no longer needed now that all entities are processed in the markdown and HTML readers. All calls to stringToSGML have been replaced by calls to encodeEntities. + Since inTag's attribute handling already encodes entities, calls to encodeEntities are no longer needed for attribute values, so they've been removed. + The HTML and Markdown readers now call decodeEntities on all raw strings (e.g. authors, dates, link titles), to ensure that no unprocessed entities are included in the native representation of the document. (In the HTML reader, most of this work is done by a change in extractAttributeName.) + The result is a small speed improvement (around 5% on my benchmark) and cleaner code.fiddlosopher
2148471Use encodeEntities rather than stringToSGML for contents of Str inline in Docbook and HTML writers, since now these strings should not contain literal entity references.fiddlosopher
8e0ad5aCleaned up handling of embedded quotes in link titles. Now these are stored as a '"' character, not as '"'. The function escapeLinkTitle in the Markdown writer is unnecessary and was removed. Tests modified accordingly.fiddlosopher
141affdMore changes in entity handling: Instead of using entities for characters above 128 in HTML and Docbook output, we now just use unicode. After all, we're declaring UTF-8 content in the header. This makes the HTML and docbook files produced by pandoc much more readable and editable.fiddlosopher
d064171Changes in entity handling: + Entities are parsed (and unicode characters returned) in both Markdown and HTML readers. + Parsers characterEntity, namedEntity, decimalEntity, hexEntity added to Entities.hs; these parse a string and return a unicode character. + Changed 'entity' parser in HTML reader to use the 'characterEntity' parser from Entities.hs. + Added new 'entity' parser to Markdown reader, and added '&' as a special character. Adjusted test suite accordingly since now we get 'Str "AT",Str "&",Str "T"' instead of 'Str "AT&T".. + stringToSGML moved to Entities.hs. escapeSGML removed as redundant, given encodeEntities. + stringToSGML, encodeEntities, and specialCharToEntity are given a boolean parameter that causes only numerical entities to be used. This is used in the docbook writer. The HTML writer uses named entities where possible, but not all docbook-consumers know about the named entities without special instructions, so it seems safer to use numerical entities there. + decodeEntities is rewritten in a way that avoids Text.Regex, using the new parsers. + charToEntity and charToNumericalEntity added to Entities.hs. + Moved specialCharToEntity from Shared.hs to Entities.hs. + Removed unneeded 'decodeEntities' from 'str' parser in HTML and Markdown readers. + Removed sgmlHexEntity, sgmlDecimalEntity, sgmlNamedEntity, and sgmlCharacterEntity from Shared.hs. + Modified Docbook writer so that it doesn't rely on Text.Regex for detecting "mailto" links.fiddlosopher
f2de088Rewrote functions in Text/Pandoc/Shared so as not to use Text.Regex, which does not support unicode: - escapePreservingRegex removed - stringToSGML rewritten using Parsec parser - new parsers for SGML character entities - escapeSGML rewritten using specialCharToEntity - new function specialCharToEntityfiddlosopher
11456baChanged Markdown autoLink parsing to conform better to Markdown.pl's behavior. <google.com> is not treated as a link, but <http://google.com>, <ftp://google.com>, and <mailto:google@google.com> are.fiddlosopher
c94daceFixed bug in 'extractTagType' in HTML reader: previous version was not skipping / in close tags.fiddlosopher
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list