setMarkUpEscaped is not working.
Example of code
$parsedown = new Parsedown(); $parsedown->setMarkupEscaped(true)->text($PostMBody);
PostMBody is just a textarea, formatted like so:
$PostMBody = $db->real_escape_string(strip_tags(stripslashes($_POST["PostBody"]))); // Body of the post
The page just goes blank and responds with a 500 error.
I'm including Parsedown like so (latest version)
include $_SERVER["DOCUMENT_ROOT"]."/_INCLUDES/MarkdownParser/markdown.php"; // Parser for markdown to DB (the latest Parsedown.php file) - the same error happens when I try the break line function.
What am I doing wrong?!