Last modified: 2014-02-06 21:36:58 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 T62001, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60001 - Trailing newline doesn't match input
Trailing newline doesn't match input
Status: NEW
Product: Parsoid
Classification: Unclassified
serializer (Other open bugs)
unspecified
All All
: Normal minor
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-13 15:09 UTC by ssastry
Modified: 2014-02-06 21:36 UTC (History)
2 users (show)

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


Attachments

Description ssastry 2014-01-13 15:09:52 UTC
Serializer always adds a trailing newline even when one is missing. Fixing this might require some tweaks to separator constraints in the serializer. This is not a major bug, just a minor annoyance.

[subbu@earth lib] echo -n "a" | wc
      0       1       1
[subbu@earth lib] echo -n "a" | node parse --wt2wt | wc
      1       1       2
Comment 1 Gabriel Wicke 2014-02-06 21:36:51 UTC
Alternatively we can maybe interpret constraints differently at EOF.

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


Navigation
Links