fix inline attachment UUID compatibility

This commit is contained in:
Yuri Kuznetsov
2025-06-05 22:09:08 +03:00
parent ba03bfa6da
commit f92e261ea8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ class Htmlizer
if (!$skipInlineAttachmentHandling) {
/** @var string $html */
$html = preg_replace_callback(
'/\?entryPoint=attachment&id=([A-Za-z0-9]*)/',
'/\?entryPoint=attachment&id=([A-Za-z0-9\-]*)/',
function ($matches) {
$id = $matches[1];
@@ -196,7 +196,7 @@ class HtmlComposer
) ?? '';
return preg_replace_callback(
"/src=\"\?entryPoint=attachment&id=([A-Za-z0-9]*)\"/",
"/src=\"\?entryPoint=attachment&id=([A-Za-z0-9\-]*)\"/",
function ($matches) {
$id = $matches[1];