Page MenuHomePhabricator

Parsoid: Extension content not wrapped correctly
Closed, ResolvedPublic


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

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">
</div><span about="#mwt3" data-parsoid="{}">

<p data-parsoid="{...}">echo "foo";

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

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:06 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz50224.

Related URL: (Gerrit Change I0de1e49e2fdff76874ca48f88d8b8bb4ff75e923) (Gerrit Change I0de1e49e2fdff76874ca48f88d8b8bb4ff75e923) | change APPROVED and MERGED [by jenkins-bot]