Add blockquote formatting unless exists already

This commit is contained in:
iliajie
2023-06-15 17:51:16 +03:00
parent 665c867601
commit 61805cee73

View File

@@ -2848,7 +2848,14 @@ my ($body) = @_;
# Mail iframe inner styles
my $iframe_styles =
'<style>html,body { overflow-y: hidden; }</style>';
'<style>
html,body { overflow-y: hidden; }
blockquote:not([style]) {
margin: 0px 0px 0px 0.8ex;
border-left: 1px solid #ccc;
padding-left: 1ex;
}
</style>';
# Add inner styles to the email body
if ($body =~ /<\/body>/) {
$body =~ s/<\/body>/$iframe_styles<\/body>/;