not using strict mode in playground

feature/strict-mode
Michael Ochmann 3 years ago
parent aaa15ce893
commit fb5df71101
  1. 2
      playground/ajax.php

@ -5,7 +5,7 @@ require __DIR__."/../vendor/autoload.php";
$source = file_get_contents("php://input"); $source = file_get_contents("php://input");
try { try {
$Instance = new parkdown\Parkdown($source, true); $Instance = new parkdown\Parkdown($source, false);
echo $Instance->html(); echo $Instance->html();
} catch (parkdown\ParserError $error) { } catch (parkdown\ParserError $error) {
echo "<pre>"; echo "<pre>";

Loading…
Cancel
Save