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

       Web browser: ---
            Bug ID: 48344
           Summary: Serializer adds newline at the end of some documents
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JS/serializer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

* Copy the source of http://mediawiki.org/wiki/User:Catrope/Main_Page to your
local wiki (running VE master and Parsoid master)
* Open it in VE
* Add a character somewhere, and remove that character using backspace (not
using undo)
* The Review and Save button is now available. Click it.
* You should get an empty diff (and in production you currently do). But on my
localhost I get a diff that adds a newline to the end.

This happens even when the DOM sent to Parsoid is a full document
(https://gerrit.wikimedia.org/r/63251). I've verified there is no newline sent
to Parsoid by VE.

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