aboutsummaryrefslogtreecommitdiff
path: root/man/man1/html2markdown.1.md
AgeCommit message (Collapse)AuthorFilesLines
2008-01-08Changed dates on documentation.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1180 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-01-03Added optional HTML sanitization using a whitelist.fiddlosopher1-0/+4
When this option is specified (--sanitize-html on the command line), unsafe HTML tags will be replaced by HTML comments, and unsafe HTML attributes will be removed. This option should be especially useful for those who want to use pandoc libraries in web applications, where users will provide the input. + Main.hs: Added --sanitize-html option. + Text.Pandoc.Shared: Added stateSanitizeHTML to ParserState. + Text.Pandoc.Readers.HTML: - Added whitelists of sanitaryTags and sanitaryAttributes. - Added parsers to check these lists (and state) to see if a given tag or attribute should be counted unsafe. - Modified anyHtmlTag and anyHtmlEndTag to replace unsafe tags with comments. - Modified htmlAttribute to remove unsafe attributes. - Modified htmlScript and htmlStyle to remove these elements if unsafe. - Modified rawHtmlBlock to use anyHtmlBlockTag instead of anyHtmlTag and anyHtmlEndTag. This fixes a bug in markdown parsing, where inline tags would be included in raw HTML blocks. - Modified anyHtmlBlockTag to test for (not inline) rather than directly for block. This allows us to handle e.g. docbook in the markdown reader. - Minor tweaks in nonTitleNonHead and parseTitle. + Text.Pandoc.Readers.Markdown: - In non-strict mode use rawHtmlBlocks instead of htmlBlock. Simplified htmlBlock, since we know it's only called in strict mode. + Modified README and man pages to document new option. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1166 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-09-27Documented '--no-wrap' option in README and man pages.fiddlosopher1-0/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1035 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-21Changed man page markdown sources to use newfiddlosopher1-1/+1
system for specifying title, section, and header information. git-svn-id: https://pandoc.googlecode.com/svn/trunk@747 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-10Use "Pandoc User Manuals" as bottom-left footer in manfiddlosopher1-1/+1
pages. git-svn-id: https://pandoc.googlecode.com/svn/trunk@669 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-08Man page templates:fiddlosopher1-12/+12
Escaped --'s in option list headers, so they won't be parsed as Em dashes when -S mode is used. git-svn-id: https://pandoc.googlecode.com/svn/trunk@644 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-04Man writer:fiddlosopher1-1/+1
- Added scheme for specifying manual section and additional headers: % PROGNAM | 1 | User Manual | Version 4.0 - Modified man page sources to include section 1 git-svn-id: https://pandoc.googlecode.com/svn/trunk@619 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-02Minor changes in man page sources.fiddlosopher1-7/+6
git-svn-id: https://pandoc.googlecode.com/svn/trunk@610 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-01Man pages are now generated from markdown templates,fiddlosopher1-0/+93
using pandoc's man page writer. Removed man pages from repository, added (.md) templates. Modified Makefile to generate man pages as part of the build process. git-svn-id: https://pandoc.googlecode.com/svn/trunk@609 788f1e2b-df1e-0410-8736-df70ead52e1b