VisualEditor: Inserting whitespace in front of a paragraph shouldn't convert the paragraph to a preformatted block, but also shouldn't leave unneeded <nowiki>s
Closed, ResolvedPublic


On English Wikipedia, a user reports the following:
*Added leading whitespace to paragraph in VE. Text appears fine in VE, with leading whitespace as an indentation.
*Saved. VE adds nowiki tags before the whitespace and after the first few words. Text displays without indent.
*Tried removing the whitespace in VE.
*VE won't allow the whitespace to be removed, but instead will only permit the first few words to be deleted.
This is with Chrome 28 + Windows 7. I'll see if I can work out the conditions that would have created the first problem. - Bilby (talk) 02:37, 16 July 2013 (UTC)

I tried to replicate this myself.
*Added whitespace to the lead of an article, and it nowikied.

*It turned the first word into an uneditable element. See image:

*Curious as to what the nowikis would do to formatting, I found an article that had formatting on the first word. It added space, no "nowiki."

  • It allowed me to remove the space in VE.

(Also using Chrome on 7.)

Version: unspecified
Severity: normal

bzimport set Reference to bz51528.
Mdennis-WMF created this task.Via LegacyJul 17 2013, 12:20 PM
Jdforrester-WMF added a comment.Via ConduitNov 25 2013, 1:31 PM

This was fixed in July; sorry for the slow triage.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.