Solar_Markdown::escape()
public
string
Solar_Markdown::escape
( string $text
, int $quotes = 2
)
Escapes HTML in source text.
Parameters
(string)
$text
: Source text.(int)
$quotes
: How to escape quotes; default ENT_COMPAT.
Returns
(string) The escaped text.
Description
Escapes HTML in source text.
Uses htmlspecialchars() with UTF-8.