浏览代码

feat: template decodeHtmlEntities filter

igb 4 月之前
父节点
当前提交
30e2e47a1b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Services/LiquidFilters/Filters.php

+ 1 - 1
app/Services/LiquidFilters/Filters.php

@@ -54,7 +54,7 @@ class Filters
         return '<img src="' . htmlspecialchars($imageUrl, ENT_QUOTES) . '" alt="' . htmlspecialchars($alt, ENT_QUOTES) . '"' . $attrString . '>';
     }
 
-    public static function decode_html_entities($input) {
+    public static function decode_html_entities($input) {
         return html_entity_decode($input, ENT_QUOTES, 'UTF-8');
     }