Page MenuHomePhabricator

Allow the parser tags to parse parameters
Closed, DeclinedPublic

Description

Allow the extensions parsertag to parse parameters, this is useful when people want to use it inside a template such as (<source lang="{{{1}}}">{{{2}}}</source>) but since the tag isn't currently setup for it they need to use {{#tag:source|{{{2}}}|lang={{{1}}}}} as a workaround.


Version: unspecified
Severity: enhancement

Details

Reference
bz25547

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:20 PM
bzimport added a project: SyntaxHighlight.
bzimport set Reference to bz25547.
bzimport added a subscriber: Unknown Object (MLST).

It makes sense to keep the default behavior the same as the one of <pre>.

You should just use the workaround.

  • Bug 36736 has been marked as a duplicate of this bug. ***