Copied!

Adds inline and block HTML support

Trait
Properties
protected $inlineHtmlElements
 
protected $selfClosingHtmlElements
 
Methods
protected consumeHtml( $lines, $current)
 

Consume lines for an HTML block

protected identifyHtml( $line, $lines, $current)
 

identify a line as the beginning of a HTML block.

protected parseEntity( $text)
 

Parses an & or a html entity definition.

  • marker &
protected parseGt( $text)
 

Escapes > characters.

  • marker >
protected parseInlineHtml( $text)
 

Parses inline HTML.

  • marker <
protected renderHtml( $block)
 

Renders an HTML block

protected renderInlineHtml( $block)
 

renders a html entity.

© 2023 Bruce Wells
Search Namespaces \ Classes
Configuration