mirror of
https://github.com/typecho/typecho.git
synced 2025-03-20 01:49:40 +01:00
Replace the markdown parse engine with HyperDown
This commit is contained in:
parent
35d2908934
commit
43087d6370
1134
var/HyperDown.php
Normal file
1134
var/HyperDown.php
Normal file
File diff suppressed because it is too large
Load Diff
@ -21,10 +21,10 @@ class Markdown
|
||||
static $parser;
|
||||
|
||||
if (empty($parser)) {
|
||||
$parser = new MarkdownExtraExtended();
|
||||
$parser = new HyperDown();
|
||||
}
|
||||
|
||||
return $parser->transform($text);
|
||||
return $parser->makeHtml($text);
|
||||
}
|
||||
}
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user