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

Home » FUDforum Development » Bug Reports » php tag doesn't like <br />
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
php tag doesn't like <br /> [message #15361] Thu, 11 December 2003 19:50 Go to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
If a php code snippet contains a <br /> it gets swallowed by the forum.

Demonstration:

This is the snippet using the "code" tag and how it's supposed to look like:
<?php echo "stupid test<br />\n"; ?>


now the same snippet using the "php" tag:

<?php echo "stupid test\n"; ?>

First noticed it in RC 10 but older versions may be affected as well.

Olliver

[Updated on: Thu, 11 December 2003 19:51]

Report message to a moderator

Re: php tag doesn't like <br /> [message #15362 is a reply to message #15361] Thu, 11 December 2003 20:10 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed in CVS. By the looks of things I'd say that is not a new bug and older versions are affected as well.

FUDforum Core Developer
Re: php tag doesn't like <br /> [message #15367 is a reply to message #15362] Thu, 11 December 2003 20:40 Go to previous message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
thnx Smile

Olliver
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Can't login in anyway shape or form...
Next Topic: Notification issue
Goto Forum:
  

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

Current Time: Thu Nov 28 02:36:26 GMT 2024

Total time taken to generate the page: 0.03025 seconds