Преглед изворни кода

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