소스 검색

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))