Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: 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?
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: 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.
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: 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.]
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Fri Nov 16, 2007 2:30 am   
 
Seb, you must be mistaken. HTML tags don't get done from within a code bbtag. Laughing

Actually I editted the code tags in.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: 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 ;)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net