Have a template like so:
[[Category:Foo {{{1|bar}}}]]
Use it in a page like so:
{{Categories|Bob}}
Output from Parsoid:
<link rel="mw:WikiLink/Category" href="./Category:Foo_Bob#Category:Foo%20Bob" data-parsoid="{"tsr":[0,18],"src":"{{Categories|Bob}}","dsr":[0,18,null,null]}" about="#mwt1" typeof="mw:Object/Template">
<meta about="#mwt1" property="mw:TemplateParams" content="[{"id":"mwt1","target":"Template:Categories","params":{"1":"Bob"}}]">
Note the wrongly-set category sort key of "Category:Foo%20Bob" - should instead be blank.
Version: unspecified
Severity: normal