Skip to content
Snippets Groups Projects
Unverified Commit b470942d authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4477 from JediKev/issue/format-image-cid-attrs

issue: Image CID Attributes
parents c8731113 9fab35a5
No related branches found
Tags v1.20.0
No related merge requests found
......@@ -308,8 +308,9 @@ class Format {
':<html[^>]+:i', # drop html attributes
':<(a|span) (name|style)="(mso-bookmark\:)?_MailEndCompose">(.+)?<\/(a|span)>:', # Drop _MailEndCompose
':<div dir=(3D)?"ltr">(.*?)<\/div>(.*):is', # drop Gmail "ltr" attributes
':data-cid="[^"]*":', # drop image cid attributes
),
array('', '', '', '', '<html', '$4', '$2 $3'),
array('', '', '', '', '<html', '$4', '$2 $3', ''),
$html);
// HtmLawed specific config only
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment