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

       Web browser: ---
            Bug ID: 50224
           Summary: Parsoid: Extension content not wrapped correctly
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

<source lang="php">
echo "foo";
</source>

converts to:

<div dir="ltr" class="mw-geshi mw-code mw-content-ltr"
typeof="mw:Extension/source" data-parsoid="{...}" about="#mwt3">
<div class="php source-php">
<pre class="de1"> 
</pre></div>
</div><span about="#mwt3" data-parsoid="{}">

</span>
<p data-parsoid="{...}">echo "foo";
&lt;/source&gt;</p>

The paragraph at the end is not tagged as #mwt3 and so becomes editable.

-- 
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