aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-23Markdown, RST writers: unescape URI in links, to make them readable.John MacFarlane2-5/+8
(Since they aren't required to be escaped in these formats.)
2010-03-23Shared: Export unescapeURI.John MacFarlane1-2/+9
2010-03-23Properly escape URIs in all readers.John MacFarlane4-44/+37
2010-03-23Added multilingual URL tests for markdown reader.John MacFarlane2-1/+13
2010-03-23Shared: Rewrote uri and emailAddress to return original text + escaped URI.John MacFarlane1-12/+17
2010-03-23Shared: enamed stringToURI -> escapeURI.John MacFarlane1-4/+4
2010-03-23Don't escape URIs in HTML writer.John MacFarlane1-20/+12
This should be done in the readers instead.
2010-03-23Better definition of stringToURI.John MacFarlane1-14/+6
Now it escapes all characters that aren't allowed in a URI. %, ?, /, and other characters that are allowed in a URI are left alone. Unicode high characters are UTF-8 encoded.
2010-03-23Removed refs to hsmarkdown, html2markdown from pandoc man page.John MacFarlane1-2/+0
2010-03-23Updated COPYRIGHT file.John MacFarlane1-14/+16
2010-03-23Updated copyright notices.John MacFarlane26-51/+52
2010-03-23Updated changelog.John MacFarlane1-0/+17
2010-03-23Version bump to 1.5.1.John MacFarlane2-2/+2
2010-03-23Fixed treatment of unicode characters in URIs.John MacFarlane3-14/+38
* Added stringToURI to Shared. This is used in the HTML writer for all URIs. It properly URI-encodes high characters (> 127), leaving everything else (including symbols and spaces) the same. * Modified unsanitaryURI to allow UTF8 characters in a URI. (First, we convert the URI to URI-encoded octets, then we pass through parseURIReference.) This resolves gitit Issue #99. Previously '[abc](http://gitit.net/测试)' would not be rendered as a link when --sanitize was selected.
2010-03-22Setup.hs: Don't assume that the build directory is "dist."John MacFarlane1-9/+10
Instead, get it from localBuildInfo.
2010-03-22OpenDocument writer: Use a Map for stTextStyleAttr.John MacFarlane1-10/+10
This avoids duplicates (and invalid xml).
2010-03-21Bump version in windows setup file.John MacFarlane1-1/+1
2010-03-21Whitespace fix in changelog.John MacFarlane1-2/+2
2010-03-21Updated changelog and bumped version to 1.5.0.1.John MacFarlane2-1/+8
2010-03-21HTML writer: fixed error in Math writer that caused infinite loop.John MacFarlane1-3/+5
2010-03-20Added to acknowledgements.John MacFarlane1-1/+1
2010-03-20cabal: included several missing test files.John MacFarlane1-1/+4
2010-03-20Updated RELEASE-CHECKLIST - git, not svn.John MacFarlane1-2/+1
2010-03-20Removed 'plugins' directory.John MacFarlane5-88/+0
2010-03-20Removed web directory (empty).fiddlosopher0-0/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1928 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20Removed web directory.fiddlosopher10-386/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1927 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20Removed unneeded things from web directory.fiddlosopher5-468/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1926 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20Improved contributor list.fiddlosopher1-3/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1925 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20Fixed indent in README.fiddlosopher1-3/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1924 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20Updated changelog.fiddlosopher1-0/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1923 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-20HTML writer: Don't include TOC div if table of contents is empty.fiddlosopher1-10/+11
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1922 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19Updated date on README.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1921 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19More fixes to web Makefile.fiddlosopher1-1/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1920 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19Tweaks to web page.fiddlosopher1-6/+7
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1919 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19Updated web Makefile.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1918 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19Updated web demos to include --mathml.fiddlosopher1-1/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1917 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19Updated web page.fiddlosopher1-0/+42
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1916 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19Tweaked changelog.fiddlosopher1-11/+5
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1915 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19Changed copyright date range for -v.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1914 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19Changes to Windows installer.fiddlosopher2-3/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1913 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19Updated changelog.fiddlosopher1-10/+203
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1912 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-19Depend on extensible-exceptions, remove CPP in Templates module.fiddlosopher2-8/+3
It's safe to depend on extensible-exceptions, since this is shipped with GHC 6.10 and 6.12. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1911 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18Templates: Conditionally import Control.Exception.Extensible if base < 4.fiddlosopher1-3/+7
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1910 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18Added --mathml option; removed Text.Pandoc.LaTeXMathML.fiddlosopher12-252/+326
* Added data/MathMLinHTML.js, which is included when no URL is provided for --mathml. This allows MathML to be displayed in better browsers, as text/html. * The module was no longer necessary; its functionality (two lines) was incorporated into pandoc.hs. * Consolidated the two LaTeXMathML.js files into one. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1909 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18Better heuristics for guessing reader to use.fiddlosopher1-6/+9
If argument is an absolute URL without a recognized extension, and no reader is explicitly specified, use HTML. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1908 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18Added plain writer.fiddlosopher12-55/+904
Text.Pandoc.Writers.Markdown now exports a writePlain, which writes plain text without links, pictures, or special formatting (not even markdown conventions). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1907 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18Fixed definition lists for options in README.fiddlosopher1-6/+6
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1906 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18Refactored handler for base-header-level option.fiddlosopher1-11/+15
Now we have a list of "transforms" (Pandoc -> Pandoc). They get applied at the end in a fold. This should make it easier to add new document-transforming options in the future. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1905 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18MediaWiki writer: make links to relative URLs wikilinks.fiddlosopher2-33/+31
The new rule: If the link target is an absolute URL, an external link is created. Otherwise, a wikilink is created. Examples: 1. [label](/foo/bar) => [[foo/bar|label]] 2. [label](foo) => [[foo|label]] 3. [label](http://gitit.net/foo) => [http://gitit.net/foo label] Note on 1: We strip the leading / here, since otherwise we get a link to Help:Links/foo/bar. would it be better for 1 to become [http://{SERVERNAME}}/foo/bar label]? Perhaps, since this would guarantee the same link destination as you'd get if you used the HTML writer directly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1904 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-03-18cabal: Depend on extensible-exception for GHC < 6.10.fiddlosopher1-2/+2
This, I hope, will allow pandoc to be compiled on ghc 6.8 again. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1903 788f1e2b-df1e-0410-8736-df70ead52e1b