Last modified: 2014-08-22 14:41:41 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 T57588, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55588 - Improve html2html newline normalization
Improve html2html newline normalization
Status: PATCH_TO_REVIEW
Product: Parsoid
Classification: Unclassified
tests (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Marc Ordinas i Llopis
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-10 20:16 UTC by Gabriel Wicke
Modified: 2014-08-22 14:41 UTC (History)
3 users (show)

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


Attachments

Description Gabriel Wicke 2013-10-10 20:16:10 UTC
We currently have a regexp-based newline serialization hack which converts non-IEW ws to a single space. The regexp does not work well any more with the XML serializer (as > is no longer entity-escaped). We should normalize this on the DOM instead, where IEW vs. non-IEW info is readily available.
Comment 1 C. Scott Ananian 2014-03-27 17:16:19 UTC
See also bug 63195, which is a more general issue that may also include IEW normalization.
Comment 2 C. Scott Ananian 2014-08-21 18:07:00 UTC
The newline normalization was turned off in commit fc153752d4a8cf3c865f02d0303c8bd1529b3162
Comment 3 Gerrit Notification Bot 2014-08-21 21:26:07 UTC
Change 155639 had a related patch set uploaded by Cscott:
Don't strip newlines within text content.

https://gerrit.wikimedia.org/r/155639
Comment 4 Gerrit Notification Bot 2014-08-22 14:41:41 UTC
Change 155639 merged by Cscott:
Improve whitespace normalization for parser tests.

https://gerrit.wikimedia.org/r/155639

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


Navigation
Links