瀏覽代碼

Version 1.3.6: HTML5 Images

trendschau 5 年之前
父節點
當前提交
52f28651a6
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      system/Extensions/ParsedownExtension.php

+ 2 - 1
system/Extensions/ParsedownExtension.php

@@ -93,7 +93,8 @@ class ParsedownExtension extends \ParsedownExtra
         return $footnotes;
     }
 
-    # BlockImages
+    # BlockImages with html5 figure and figcaption
+    # No, this is not the most elegant code on planet earth!!
     protected function blockImage($line, $block)
     {
         if (preg_match('/^\!\[/', $line['text'], $matches))