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

       Web browser: ---
            Bug ID: 45018
           Summary: Parsoid serializer adds trailing newline
           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],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

This doesn't happen when using /_rt/ or /_html/ , but it does happen when
POSTing content directly to a page:

1. Create a very simple page (such as one with a single line of text)
2. Open it in the editor
3. Bold a word
4. Attempt to save the page
5. The diff will show a trailing newline being added

I'm guessing there might be trailing newlines in the HTTP output from Parsoid,
which then aren't stripped because Parsoid doesn't set a Content-Length header.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to