Hi Parsoid developers,
I'm trying to use Parsoid "data-mw" output when dealing with wikitext templates. On Help:Expansion it's said that:
If double opening braces are followed by triple closing braces or conversely, this is taken as delimiting a template, with one left-over brace outside it taken as plain text.
So when the input is "{{{ zoos }}" I'm expecting something like
<p about="#mwt1" typeof="mw:Transclusion" id="mwAQ" data-mw="{"parts":[{"template":{"target":{"wt":" zoos ","href":"./Template:Zoos"},"params":{},"i":0}}]}">{</p>
but instead I get
<p about="#mwt1" typeof="mw:Transclusion" id="mwAQ" data-mw="{"parts":[{"template":{"target":{"wt":"{ zoos ","href":"./Template:{_zoos"},"params":{},"i":0}}]}">{</p>
Is this a bug in Parsoid template parsing?
Thanks,