PHP Class League\HTMLToMarkdown\Converter\ParagraphConverter

Inheritance: implements League\HTMLToMarkdown\Converter\ConverterInterface
Show file Open project: nickcernis/html-to-markdown

Public Methods

Method Description
convert ( League\HTMLToMarkdown\ElementInterface $element ) : string
getSupportedTags ( ) : string[]

Private Methods

Method Description
escapeFirstCharacters ( string $line ) : string
escapeOtherCharacters ( string $line ) : string
escapeOtherCharactersRegex ( string $line ) : string
escapeSpecialCharacters ( string $line ) : string

Method Details

convert() public method

public convert ( League\HTMLToMarkdown\ElementInterface $element ) : string
$element League\HTMLToMarkdown\ElementInterface
return string

getSupportedTags() public method

public getSupportedTags ( ) : string[]
return string[]