Forum:& codes expand even inside nowiki tags
Wikia - creating communities
I put "♫" into a post surround by nowiki tags. It expanded into the matching character despite the nowiki tags. Sample: ♫
Is that a bug in the Media Wiki version? Will (Talk - contribs) 06:01, 18 December 2007 (UTC)
- It's not a bug, it's the way it was meant to work. <nowiki/> was meant to stop WikiText from being parsed not to escape characters. Just like it's name says. It would also be a major issue if the entities were double escaped. When you try to use
<nowiki><nowiki></nowiki></nowiki>It renders as a <nowiki> inside the tags, with a </nowiki> left outside because the first </nowiki> is considered to be the ending tag. If it weren't for the fact that entities are not escaped we wouldn't be able to use<nowiki><nowiki></nowiki></nowiki>to get "<nowiki></nowiki>". How important this is shows up when we add extra things into the mix like.<nowiki><nowiki></nowiki>[[link]]</nowiki>outputs "<nowiki>link</nowiki>" instead of "<nowiki></nowiki>[[link]]" which you actually need to use<nowiki><nowiki></nowiki>[[link]]</nowiki>to get. ~NOTASTAFF Daniel Friesen (DanTMan, Nadir Seen Fire) (talk) (tricks) (current topic) Dec 18, 2007 @ 08:23 (UTC)