fix inline attachment UUID compatibility
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user