summaryrefslogtreecommitdiffstats
path: root/libs/Contents.php
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2020-03-25 23:08:39 +0800
committerGitHub <noreply@github.com>2020-03-25 23:08:39 +0800
commit040f110e910d2275a88c0961af99d4e1217833ee (patch)
tree9edf4f7d25911a91ca74cda25f2d86a2285e0df9 /libs/Contents.php
parenteabe19beaa057cd4c066491cb1bfb0037fd9291a (diff)
🙂 Fix: 修复 owo 表情在文章中排版错误
Diffstat (limited to 'libs/Contents.php')
-rw-r--r--libs/Contents.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/Contents.php b/libs/Contents.php
index fdc41aa..d5cb522 100644
--- a/libs/Contents.php
+++ b/libs/Contents.php
@@ -13,7 +13,7 @@ class Contents
$text = empty($last) ? $data : $last;
if ($widget instanceof Widget_Archive) {
//ParseOther
- $text = Contents::parsePrism(Contents::parseImages(Contents::parseHeadings(Contents::parseTextColor(Contents::parseRuby(Contents::parseTip(Contents::parseLink(Contents::parseEmo($text))))))));
+ $text = Contents::parseEmo(Contents::parsePrism(Contents::parseImages(Contents::parseHeadings(Contents::parseTextColor(Contents::parseRuby(Contents::parseTip(Contents::parseLink($text))))))));
//LazyLoad
$text = preg_replace('/<img (.*?)src(.*?)(\/)?>/','<img $1src="/usr/themes/Miracles/images/loading/'.$load_image.'.gif" data-original$2 />',$text);
}