https://bugzilla.wikimedia.org/show_bug.cgi?id=49213

--- Comment #1 from Gabriel Wicke <[email protected]> ---
References is actually a special case as it does not yet use the DOMFragment
mechanism. The proper fix is probably to convert it to use DOMFragment
encapsulation and generic unpacking.

A generic extension tag like math in a template parameter on the other hand is
handled okayish:
echo '{{echo|<math>1+1</math>}}' | node parse --extensions math
<body><p data-parsoid='{"dsr":[0,25,0,0]}'><img class="tex" alt="1+1"
src="//upload.wikimedia.org/math/d/9/6/d96e018f51ea61e5ff2f9c349c5da67d.png"
data-mw='{"target":{"wt":"echo","href":"./Template:Echo"},"params":{"1":{"wt":"<math>1+1</math>"}}}'
typeof="mw:Transclusion" about="#mwt2"
data-parsoid='{"tsr":[0,25],"src":"{{echo|<math>1+1</math>}}","dsr":[0,25,null,null]}'></p>
</body>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to