Last modified: 2012-11-09 20:22:51 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 T43727, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41727 - VisualEditor: Deal with mw:Placeholder span wrapping the first newline in a <pre>
VisualEditor: Deal with mw:Placeholder span wrapping the first newline in a <...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-03 04:05 UTC by Roan Kattouw
Modified: 2012-11-09 20:22 UTC (History)
4 users (show)

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


Attachments

Description Roan Kattouw 2012-11-03 04:05:17 UTC
To distinguish between <pre>Foo</pre> and <pre>\nFoo</pre>, Parsoid gives us HTML like <pre><span typeof="mw:Placeholder">\n</span>Foo</pre> for the latter. We don't currently have any special handling for this placeholder in VE, so it shows up as an inline alien.

I'm asking the Parsoid team to remove it.
Comment 1 Roan Kattouw 2012-11-09 20:22:51 UTC
Parsoid removed this behavior as requested, and with https://gerrit.wikimedia.org/r/#/c/32260/ the editor now handles <pre>s correctly.

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


Navigation
Links