Page MenuHomePhabricator

#switch treats any case beginning with "#default" as the default case
Closed, ResolvedPublic


For example, "{{#switch:x|#defaultWTF? = This is crazy}}" returns "This is crazy".

Version: master
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:39 AM
bzimport added a project: ParserFunctions.
bzimport set Reference to bz67871.
bzimport added a subscriber: Unknown Object (MLST).
Anomie created this task.Jul 11 2014, 6:13 PM

Change 145600 had a related patch set uploaded by Anomie:
switch should not match #default as a prefix

Change 145600 merged by jenkins-bot:
#switch should not match #default as a prefix