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

       Web browser: ---
            Bug ID: 50713
           Summary: Parsoid adds span with newline after extension tags
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JS/General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

See http://parsoid.wmflabs.org/mw/User:Catrope/Syntax

The Parsoid rendering of <syntaxhighlight>...</syntaxhighlight> looks something
like:

<div typeof="mw:Extension/syntaxhighlight" about="#mwt3">
  content here
</div><span about="#mwt3">
</span>

StoneBird (GSoC student) found this bug in syntaxhighlight and he and Trevor
banged their heads against the wall for a while. Jiabao (other GSoC student)
had the same issue with <math> and figured it out on her own.

In general, Parsoid shouldn't wrap inter-element whitespace in about-grouped
spans, because VE is able to deal with IEW within about groups.

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