1
0
mirror of https://github.com/typemill/typemill.git synced 2025-04-21 04:21:56 +02:00

Version 1.3.6: HTML5 Images

This commit is contained in:
trendschau 2020-05-05 20:20:41 +02:00
parent 8ebdd7eab1
commit 52f28651a6

View File

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