Last modified: 2013-12-05 19:41:31 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 T59160, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57160 - Flow: spurious empty spans appear in edit input area post-save
Flow: spurious empty spans appear in edit input area post-save
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Gabriel Wicke
http://ee-flow.wmflabs.org/wiki/Talk:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-18 04:51 UTC by MZMcBride
Modified: 2013-12-05 19:41 UTC (History)
6 users (show)

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


Attachments

Description MZMcBride 2013-11-18 04:51:41 UTC
http://ee-flow.wmflabs.org/wiki/Talk:Sandbox

Input:

---
You can try things out here. {{PAGENAME}}

<syntaxhighlight lang="css">
.foo {
    font-weight: bold;
}
</syntaxhighlight>
---

When I return to edit this same text, I get:

---
You can try things out here. {{the [[mw}}

<syntaxhighlight lang="css">
.foo {
    font-weight: bold;
}
</syntaxhighlight>
<span></span>
<span></span>
---

The magic words brokenness is being tracked by a separate bug. This bug can track the spurious <span></span>s.
Comment 1 spage 2013-11-18 08:04:23 UTC
The WMF core features team tracks this bug on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/476, but people from the community are welcome to contribute here and in Gerrit.
Comment 2 Andrew Garrett 2013-11-22 04:23:06 UTC
Is this still an issue? I suspect it is probably fixed by change 96667
Comment 3 Andrew Garrett 2013-11-22 04:23:57 UTC
Ah yes, I can still reproduce it.
Comment 4 Andrew Garrett 2013-11-22 04:25:20 UTC
The HTML output seems to include this, and I expect that's what's being converted back:

<span data-parsoid="{}" about="#mwt4">
</span>
Comment 5 Gabriel Wicke 2013-11-22 07:47:03 UTC
Are you doing any kind of typeof or about attribute munging in Flow? We talked about that in the past to force a subst-like effect. Could you dump HTML before and after and attach it here in case there is a change?

The syntaxhighlight block round-trips fine when entered in http://parsoid.wmflabs.org/_rtform/.
Comment 6 Maryana Pinchuk 2013-12-05 19:41:31 UTC
I'm not seeing this occurring anymore.. I assume it's been fixed.

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


Navigation
Links