public static escapeHtmlText ( $s ) : string | ||
리턴 | string | HTML |
public static function escapeHtmlText($s)
{
return $s instanceof IHtmlString || $s instanceof \Nette\Utils\IHtmlString ? $s->__toString(TRUE) : htmlSpecialChars($s, ENT_NOQUOTES, 'UTF-8');
}