BeanHelper.php
public static function filterMarkdownContent(?string $content, bool $compute, bool $fullMarkdown = false): ?string
    {
        return $compute 
                ? ($fullMarkdown
                    ? self::escapeAndMarkdown($content)
                    : self::escapeAndMarkdownLight($content)
                ) 
                : $content;
    }
public static function filterMarkdownContent(?string $content, bool $compute, bool $fullMarkdown = false): ?string
    {
        return $compute 
                ? ($fullMarkdown
                    ? self::escapeAndMarkdown($content)
                    : self::escapeAndMarkdownLight($content)
                ) 
                : $content;
    }
public static function filterMarkdownContent ( ? string $ content , bool $ compute , bool $ fullMarkdown = false ) : ? string { return $ compute ? ( $ fullMarkdown ? self :: escapeAndMarkdown ( $ content ) : self :: escapeAndMarkdownLight ( $ content ) ) : $ content ; }
Common filter for markdown content for getters
@param string|null $content
@param bool $compute
@param bool $fullMarkdown
@return string|null
Common filter for markdown content for getters