Page MenuHomePhabricator

VE/Parsoid add <nowiki> with spaces in the beginning of a paragraph after a single line break
Closed, DuplicatePublic

Description

Hi,

In the past typing spaces in the beginning of a paragraph in VE would add these spaces in <nowiki>. AFAIK, this stopped in early August and since then these spaces are supposed to be just discarded. This indeed seems to still work, but <nowiki> with spaces is added when one the wiki syntax there's only one line break.

Here's an example:
https://he.wikipedia.org/w/index.php?curid=1294676&diff=17531763&oldid=17220432

This is a VE edit. I don't even know how is it possible to add only one line break between paragraphs in VE, but the fact is that it happened in this edit. Possibly the real problem is that VE somehow allows this, and should just always force two line breaks between paragraphs.

Event Timeline

Amire80 raised the priority of this task from to Needs Triage.
Amire80 updated the task description. (Show Details)
Amire80 added subscribers: Amire80, eranroz.

This is probably a cut-and-paste from somewhere via Firefox (which adds spurious single newlines).