Previous Page
_encode()

Solar_Markdown_Extra_Header
_escape()

Next Page
_exception()

_escape()

protected string _escape ( string $text, int $quotes default 2 )

Escapes HTML in source text.

Inherited from Solar_Markdown_Plugin.

Parameters

  • (string) $text: Source text.
  • (int) $quotes: A PHP entities constant, default ENT_COMPAT.

Returns

  • (string) The escaped text.

Description

Escapes HTML in source text.