--- Html.php.ORI 2022-02-21 13:25:24.424944327 +0100
+++ Html.php 2022-10-12 14:05:00.912891018 +0200
@@ -362,6 +362,16 @@
$node->setAttribute('style', $style . 'width:auto !important');
break;
+ case 'source':
+ if ($this->_imgBlock() &&
+ $node->hasAttribute('srcset'))
+ {
+ $node->setAttribute(self::SRCSETBLOCK, $node->getAttribute('srcset'));
+ $node->setAttribute('srcset', '');
+ $this->_imptmp['imgblock'] = true;
+ break;
+ }
+
case 'img':
case 'input':
if ($node->hasAttribute('src')) {