|
|
@@ -216,9 +216,9 @@ class MdRender{
|
|
|
/**
|
|
|
* markdown -> html
|
|
|
*/
|
|
|
- //$markdown = str_replace(['[[',']]'],['㐛','㐚'],$markdown);
|
|
|
+ $markdown = str_replace(['[[',']]'],['㐛','㐚'],$markdown);
|
|
|
$html = Str::markdown($markdown);
|
|
|
- //$html = str_replace(['㐛','㐚'],['[[',']]'],$html);
|
|
|
+ $html = str_replace(['㐛','㐚'],['[[',']]'],$html);
|
|
|
|
|
|
#替换术语
|
|
|
$pattern = "/\[\[(.+?)\]\]/";
|