 |
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Thu Nov 15, 2007 8:19 pm
[2.11] possible mxp bug, <br> |
On the command line:
#mxp <p>this is a test<br>of the emergency<br>broadcast system<p>this is only a test
This seems to display:
this is a test
of the emergency<br>broadcast system<p>this is only a test
The first instance of <br> seems to turn off MXP interpretation. Perhaps it is treating it as a line break and a new command line? |
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Nov 15, 2007 8:27 pm |
This is because BR is a "secure" MXP command and the #MXP command only sets secure mode for the first line. After the first BR, then it's in MXP Open mode again where BR isn't allowed anymore.
I agree that this is annoying and I'll try to fix it in the future. In the meantime, you can use this:
| Code: |
| #mxp <p>this is a test<br>%e[1zof the emergency<br>%e[1zbroadcast system<p>this is only a test |
where the %e[1z is putting each line into secure mode again. |
|
|
|
 |
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Fri Nov 16, 2007 1:53 am |
Heh, that's amusing. Zugg's <p>'s and <br>'s are being interpreted as HTML and Rahab's aren't. [Edit: And mine aren't too.]
|
|
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5187
|
Posted: Fri Nov 16, 2007 2:30 am |
Seb, you must be mistaken. HTML tags don't get done from within a code bbtag.
Actually I editted the code tags in. |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Nov 16, 2007 2:35 am |
Thanks for fixing it. Yeah, it's because I have admin privs and so I can post raw HTML if I want ;)
|
|
|
|
 |
|
|
|