Quantcast Forum:& codes expand even inside nowiki tags - Wikis from Wikia - Join the best wiki communities
Recent changes Random page
GAMING
more wikis
 
Gaming
Entertainment
Hobbies
Sports
Biggest wikis
see all...
See more...

Forum:& codes expand even inside nowiki tags

Wikia - creating communities

Jump to: navigation, search
Forums: Index Help desk & codes expand even inside nowiki tags


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>&lt;/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>&lt;/nowiki>[[link]]&lt;/nowiki> to get. ~NOTASTAFF Daniel Friesen (DanTMan, Nadir Seen Fire) (talk) (tricks) (current topic) Dec 18, 2007 @ 08:23 (UTC)