mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
cdba5f2800
Gabriel noticed whitespace diffs in the problem reports. These were caused by browsers' .innerHTML being broken on <pre>s. We compensate for this in the converter, but not when generating originalHtml. However, a variable called originalHtml really shouldn't be generated, it should just literally be the original, unprocessed HTML. This does mean it includes the doctype, <html> and <head> which aren't included in editedHtml (that one's just the contents of the <body>), but that's much easier to deal with on Parsoid's end than random newline diffs all over the place. Change-Id: I8e66cb79887f49f84114ab6b4d0e0d24aea744b6 |
||
---|---|---|
.. | ||
mw | ||
sa | ||
ve.init.js | ||
ve.init.Platform.js | ||
ve.init.Target.js |