From: Florent Bruneau Date: Sun, 4 Nov 2007 15:07:08 +0000 (+0100) Subject: Pack html generated by the MiniWiki in in mails. X-Git-Tag: xorg/0.9.16~220 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=402390ee8d7bb3851e9cbd42781d16e7b84a2c88;p=platal.git Pack html generated by the MiniWiki in in mails. Signed-off-by: Florent Bruneau --- diff --git a/classes/plmailer.php b/classes/plmailer.php index eb26208..b654dda 100644 --- a/classes/plmailer.php +++ b/classes/plmailer.php @@ -281,7 +281,7 @@ class PlMailer extends Mail_Mime { if ($this->wiki) { $this->setTxtBody(MiniWiki::WikiToText($this->wiki, true, 0, 78)); if ($with_html) { - $this->setHtmlBody(MiniWiki::WikiToHtml($this->wiki, true)); + $this->setHtmlBody('' . MiniWiki::WikiToHtml($this->wiki, true) . ''); } } }