Constants

version

version = '1.7.4'

Properties

$breaksEnabled

$breaksEnabled : 

Type

$markupEscaped

$markupEscaped : 

Type

$urlsLinked

$urlsLinked : 

Type

$safeMode

$safeMode : 

Type

$safeLinksWhitelist

$safeLinksWhitelist : 

Type

$BlockTypes

$BlockTypes : 

Type

$unmarkedBlockTypes

$unmarkedBlockTypes : 

Type

$InlineTypes

$InlineTypes : 

Type

$inlineMarkerList

$inlineMarkerList : 

Type

$DefinitionData

$DefinitionData : 

Type

$specialCharacters

$specialCharacters : 

Type

$StrongRegex

$StrongRegex : 

Type

$EmRegex

$EmRegex : 

Type

$regexHtmlAttribute

$regexHtmlAttribute : 

Type

$voidElements

$voidElements : 

Type

$textLevelElements

$textLevelElements : 

Type

$instances

$instances : 

Type

Methods

text()

text(  $text) 

Parameters

$text

setBreaksEnabled()

setBreaksEnabled(  $breaksEnabled) 

Parameters

$breaksEnabled

setMarkupEscaped()

setMarkupEscaped(  $markupEscaped) 

Parameters

$markupEscaped

setUrlsLinked()

setUrlsLinked(  $urlsLinked) 

Parameters

$urlsLinked

setSafeMode()

setSafeMode(  $safeMode) 

Parameters

$safeMode

line()

line(  $text,   $nonNestables = array()) 

Parameters

$text
$nonNestables

parse()

parse(  $text) 

Parameters

$text

instance()

instance(  $name = 'default') 

Parameters

$name

lines()

lines(array  $lines) 

Parameters

array $lines

isBlockContinuable()

isBlockContinuable(  $Type) 

Parameters

$Type

isBlockCompletable()

isBlockCompletable(  $Type) 

Parameters

$Type

blockCode()

blockCode(  $Line,   $Block = null) 

Parameters

$Line
$Block

blockCodeContinue()

blockCodeContinue(  $Line,   $Block) 

Parameters

$Line
$Block

blockCodeComplete()

blockCodeComplete(  $Block) 

Parameters

$Block

blockComment()

blockComment(  $Line) 

Parameters

$Line

blockCommentContinue()

blockCommentContinue(  $Line, array  $Block) 

Parameters

$Line
array $Block

blockFencedCode()

blockFencedCode(  $Line) 

Parameters

$Line

blockFencedCodeContinue()

blockFencedCodeContinue(  $Line,   $Block) 

Parameters

$Line
$Block

blockFencedCodeComplete()

blockFencedCodeComplete(  $Block) 

Parameters

$Block

blockHeader()

blockHeader(  $Line) 

Parameters

$Line

blockList()

blockList(  $Line) 

Parameters

$Line

blockListContinue()

blockListContinue(  $Line, array  $Block) 

Parameters

$Line
array $Block

blockListComplete()

blockListComplete(array  $Block) 

Parameters

array $Block

blockQuote()

blockQuote(  $Line) 

Parameters

$Line

blockQuoteContinue()

blockQuoteContinue(  $Line, array  $Block) 

Parameters

$Line
array $Block

blockRule()

blockRule(  $Line) 

Parameters

$Line

blockSetextHeader()

blockSetextHeader(  $Line, array  $Block = null) 

Parameters

$Line
array $Block

blockMarkup()

blockMarkup(  $Line) 

Parameters

$Line

blockMarkupContinue()

blockMarkupContinue(  $Line, array  $Block) 

Parameters

$Line
array $Block

blockReference()

blockReference(  $Line) 

Parameters

$Line

blockTable()

blockTable(  $Line, array  $Block = null) 

Parameters

$Line
array $Block

blockTableContinue()

blockTableContinue(  $Line, array  $Block) 

Parameters

$Line
array $Block

paragraph()

paragraph(  $Line) 

Parameters

$Line

inlineCode()

inlineCode(  $Excerpt) 

Parameters

$Excerpt

inlineEmailTag()

inlineEmailTag(  $Excerpt) 

Parameters

$Excerpt

inlineEmphasis()

inlineEmphasis(  $Excerpt) 

Parameters

$Excerpt

inlineEscapeSequence()

inlineEscapeSequence(  $Excerpt) 

Parameters

$Excerpt

inlineImage()

inlineImage(  $Excerpt) 

Parameters

$Excerpt

inlineLink()

inlineLink(  $Excerpt) 

Parameters

$Excerpt

inlineMarkup()

inlineMarkup(  $Excerpt) 

Parameters

$Excerpt

inlineSpecialCharacter()

inlineSpecialCharacter(  $Excerpt) 

Parameters

$Excerpt

inlineStrikethrough()

inlineStrikethrough(  $Excerpt) 

Parameters

$Excerpt

inlineUrl()

inlineUrl(  $Excerpt) 

Parameters

$Excerpt

inlineUrlTag()

inlineUrlTag(  $Excerpt) 

Parameters

$Excerpt

unmarkedText()

unmarkedText(  $text) 

Parameters

$text

element()

element(array  $Element) 

Parameters

array $Element

elements()

elements(array  $Elements) 

Parameters

array $Elements

li()

li(  $lines) 

Parameters

$lines

sanitiseElement()

sanitiseElement(array  $Element) 

Parameters

array $Element

filterUnsafeUrlInAttribute()

filterUnsafeUrlInAttribute(array  $Element,   $attribute) 

Parameters

array $Element
$attribute

escape()

escape(  $text,   $allowQuotes = false) 

Parameters

$text
$allowQuotes

striAtStart()

striAtStart(  $string,   $needle) 

Parameters

$string
$needle