pandoc-0.46: Conversion between markup formats

Portabilityportable
Stabilityalpha
MaintainerJohn MacFarlane <jgm@berkeley.edu>

Text.Pandoc.Readers.HTML

Description

Conversion of HTML to Pandoc document.

Synopsis

Documentation

readHtmlSource

Arguments

:: ParserState

Parser state

-> String

String to parse

-> Pandoc 

Convert HTML-formatted string to Pandoc document.

extractTagType :: String -> StringSource

Returns True if sanitization is specified and the specified tag is not on the sanitized tag list.

returns True if sanitization is specified and the specified attribute is not on the sanitized attribute list.

Read blocks until end tag.

Read inlines until end tag.

Parse blocks between open and close tag.

Parse inlines between open and close tag.

Extract type from a tag: e.g. br from <br>