Browse Source

修复Widgets\Code::html方法冲突问题

jqh 4 years ago
parent
commit
dc3078e93b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Widgets/Code.php

+ 1 - 1
src/Widgets/Code.php

@@ -45,7 +45,7 @@ class Code extends Markdown
         return $this->lang('javascript');
     }
 
-    public function html()
+    public function asHtml()
     {
         return $this->lang('html');
     }