Browse Source

Version 1.3.6: HTML5 Images

trendschau 5 years ago
parent
commit
52f28651a6
1 changed files with 2 additions and 1 deletions
  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))