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 #159253 is a reply to message #159251] Sat, 16 May 2009 13:02 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
Hej Frank

I tried your patch today, the "\n\n" for "<p>" looks more like the original html, so i think we could use your model, still keeping only 1 "\n" for "</p>" , and i also don't believe its necessary to ask for html=true ones again.

Peter

				$this->decode_message_body();
				$this->body = str_replace("<p>", "\n\n", $this->body);
				$this->body = str_replace(array("<br />", "</p>", "<br>" ), "\n", $this->body);
				$this->body = strip_tags($this->body);
				break;

[Updated on: Sat, 16 May 2009 13:05]

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: Mon Oct 28 16:51:01 GMT 2024

Total time taken to generate the page: 0.06833 seconds