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

Description

Source

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

    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.