Last modified: 2013-11-20 11:08:40 UTC
Because we don't store the inner whitespace of the document, we can't validate the outer whitespace its first/last children. 1. Create document with wikitext: ==Heading== Foo 2. Delete 'Heading' and the empty line 3. You now have: [{'type':'paragraph', 'internal': {'whitepsace': ['\n']}}, 'F' .... in the DM 4. This serialises to \n Foo
Translation for those looking to file a similar bug but no so well-versed in code-speak :-): When you have a blank line at the start of an article, before the text of the lead, it is impossible in VE to remove this line or lines. See e.g. [https://en.wikipedia.org/w/index.php?title=User%3AFram%2Fsandbox&diff=575706125&oldid=575706080]
Change 92885 had a related patch set uploaded by Esanders: Store inner whitespace of the body and compare it on conversion https://gerrit.wikimedia.org/r/92885
Change 92885 merged by jenkins-bot: Store inner whitespace of the body and compare it on conversion https://gerrit.wikimedia.org/r/92885