I quote from the MXP spec at:
http://www.zuggsoft.com/zmud/mxp.htm
Quote:
In addition to Elements, you can also define "Entities." Entities are like macro string replacements. For example, in HTML, the entity < indicates the < or less-than symbol. Since a normal < symbol is interpreted as the start of an element tag, you must use < to refer to a less-than symbol directly. Entities are accessed by putting a & character in front of the entity name, and terminating the name with a ; character. All of the standard HTML entities are available in MXP, including the &#nnn; entity to insert character /nnn into the text stream. Note that nnn values less than 32 are ignored.
Note the use of the word "must" (my emphasis). The MXP spec requires that < symbols to be represented as < and a MUD that does not do that is not implementing it correctly.
Also in the Pueblo spec at:
http://pueblo.sourceforge.net/doc/manual/
Quote:
3. Add HTML escaping. HTML has a few special characters that require escaping. You should convert these characters to the corresponding HTML sequence, as described in the following table. (Note: those trailing semicolons inside the strings are important.)
Character: HTML sequence:
< <
> >
& &
" "
I suppose the word "should" isn't as strong as "must" but for me it is strong enough. "Should convert" means to me that you should do this (if you want it to work), not you might if you feel like it.
In fact the sentence "HTML has a few special characters that require escaping" is pretty strong. "Require" means to me that you need to do it.
As both specs require that the "<" be converted to < I believe MUSHclient's implementation is correct, and I do not wish to encourage sloppy implementation by MUD writers by allowing incorrect tags to "slip through".
Quote:
I do not think your understanding the situation
Both Shadowfyr and I understand the problem - it is that the moo is not implementing Pueblo correctly. There are plenty of examples of it being done right, for instance my own implementation I referred to before, Dawn Of Time, PennMUSH, and others. I suggest you do one of:
- Turn off Pueblo and do without the sound effects
- Play another MUD
- Convince the admins that they should fix up their < signs as per the spec
|