FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Maillist.php patch for pure html mails
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Maillist.php patch for pure html mails [message #159256 is a reply to message #159255] Sat, 16 May 2009 14:47 Go to previous messageGo to previous message
Peter Vendike is currently offline  Peter Vendike   Denmark
Messages: 65
Registered: February 2009
Location: Denmark
Karma:
Member
Translator
So I think I accept this version:


+                               if (!$html) {
+                                       $this->body = str_ireplace(array('<br />', '<br>', '</p>'), "\n", $this->body);
+                                       $this->body = str_ireplace('<p>', "\n\n", $this->body);
+                                       $this->body = strip_tags($this->body);
+                               }
                                break;

[Updated on: Mon, 18 May 2009 14:10]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Message Navigator: No logical search function
Next Topic: avatar upload
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 01:55:32 GMT 2024

Total time taken to generate the page: 0.03421 seconds