|
aslanthekat Novice
Joined: 17 Sep 2007 Posts: 44 Location: Missouri
|
Posted: Sat Jul 28, 2012 2:47 pm
formatting with MXP |
I'm trying to format some output using mxp. I'd like to break the output up into paragraphs with breaks.
Code: |
#mxp Before you die: type <send href=':%item(%names, 1):help recall'>recall reset</send>. |
returns
Quote: |
Before you die: type recall reset. |
Code: |
#mxp Before you die: <br>type <send href=':%item(%names, 1):help recall'>recall reset</send>. |
returns
Quote: |
Before you die:
type <send href=':falkor:help recall'>recall reset</send>. |
Note:I tried using <br> and %crlf and both return the above
I appreciate the help. |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Sat Jul 28, 2012 4:50 pm |
Interesting. Not sure if that's a bug or not (I don't use MXP much), but the easiest solution would probably be to just use two #MXP commands.
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Sat Jul 28, 2012 5:28 pm |
try just %lf
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
aslanthekat Novice
Joined: 17 Sep 2007 Posts: 44 Location: Missouri
|
Posted: Sat Jul 28, 2012 5:45 pm |
Thanks for the feedback. %lf does the same thing. I will just use more than one #mxp.
|
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Sat Jul 28, 2012 9:42 pm |
Yes, <br> does not work in a #MXP command.
|
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Sat Jul 28, 2012 9:53 pm |
Well, <br> does seem to work - it adds a new line anyway, which I'm assuming is all it's supposed to do - the problem is that other tags aren't being parsed on subsequent lines (not just <send> tags). As I said, I don't use MXP much, so I don't want to say it's definitely a bug, but it does look suspicious to me.
|
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Sun Jul 29, 2012 1:55 pm |
Yes, I think that's the issue I saw last year. I think I reported the bug, but can't be sure offhand.
|
|
|
|
|
|