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

Home » FUDforum » How To » Changing HTML replacement in post_proc.inc.t
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Changing HTML replacement in post_proc.inc.t [message #10554] Wed, 04 June 2003 14:08 Go to next message
huttj is currently offline  huttj   United States
Messages: 1
Registered: June 2003
Location: Minneapolis
Karma: 0
Junior Member
Hi!
I've been trying to change the markup in messages and quoted material via post_proc.inc.t. I've been wanting to change the <br> tag that gets inserted in place of carriage returns with a <p> tag.

Other than the function reverse_nl2br, I can't seem to find any other place to change this.

I've replaced the <br in this function with <p and so far, no luck.

Any ideas?

Thanks!
Re: Changing HTML replacement in post_proc.inc.t [message #10555 is a reply to message #10554] Wed, 04 June 2003 15:22 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
New line replacment is done using PHP's nl2br() function, so you if want <p> instead of <br> change nl2br() to something else.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: pre-like whitespace in posts
Next Topic: Problems changing port number of webserver
Goto Forum:
  

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

Current Time: Mon Dec 23 18:46:48 GMT 2024

Total time taken to generate the page: 0.05942 seconds