Last modified: 2013-06-26 20:34:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T52224, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50224 - Parsoid: Extension content not wrapped correctly
Parsoid: Extension content not wrapped correctly
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-26 12:44 UTC by Ed Sanders
Modified: 2013-06-26 20:34 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ed Sanders 2013-06-26 12:44:24 UTC
<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.
Comment 1 Gerrit Notification Bot 2013-06-26 18:17:37 UTC
Related URL: https://gerrit.wikimedia.org/r/70664 (Gerrit Change I0de1e49e2fdff76874ca48f88d8b8bb4ff75e923)
Comment 2 Gerrit Notification Bot 2013-06-26 20:11:18 UTC
https://gerrit.wikimedia.org/r/70664 (Gerrit Change I0de1e49e2fdff76874ca48f88d8b8bb4ff75e923) | change APPROVED and MERGED [by jenkins-bot]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links