some simplification

pull/3620/head
Tobias Diekershoff 2017-08-09 19:19:42 +02:00
rodzic a0ecd5ab2e
commit 147bfb0576
1 zmienionych plików z 1 dodań i 5 usunięć

Wyświetl plik

@ -29,11 +29,7 @@ function Markdown($text, $hardwrap = true) {
$stamp1 = microtime(true); $stamp1 = microtime(true);
$MarkdownParser = new MarkdownExtra(); $MarkdownParser = new MarkdownExtra();
if ($hardwrap) { $MarkdownParser->hard_wrap = $hardwrap;
$MarkdownParser->hard_wrap = true;
} else {
$MarkdownParser->hard_wrap = false;
}
$html = $MarkdownParser->transform($text); $html = $MarkdownParser->transform($text);
$a->save_timestamp($stamp1, "parser"); $a->save_timestamp($stamp1, "parser");