Parsedown::escape( $text,  $allowQuotes = false )

Description

Source

File: bp-help/vendors/parsedown/Parsedown.php

1919
1920
1921
1922
protected static function escape($text, $allowQuotes = false)
{
    return htmlspecialchars($text, $allowQuotes ? ENT_NOQUOTES : ENT_QUOTES, 'UTF-8');
}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.