]> git.mxchange.org Git - friendica.git/blobdiff - include/text.php
repeated items from ostatus and diaspora are now using the share-element.
[friendica.git] / include / text.php
index 7d26d355089952bec2a0dc12eb2ba69b362603f2..4212e23ca4dc8684817a6409dd2db5be9bef8662 100644 (file)
@@ -982,6 +982,9 @@ function prepare_body($item,$attach = false) {
        $s = $prep_arr['html'];
 
        if(! $attach) {
+               // Replace the blockquotes with quotes that are used in mails
+               $mailquote = '<blockquote type="cite" class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">';
+               $s = str_replace(array('<blockquote>', '<blockquote class="spoiler">', '<blockquote class="author">'), array($mailquote, $mailquote, $mailquote), $s);
                return $s;
        }