Page MenuHomePhabricator

VisualEditor: Extending an existing DL-indentation renders correctly in CE, but doesn't come through on save
Open, MediumPublic

Description

Pressing enter at the end of a colon indented line and typing more text displays as an indented, but, on save, (and review changes) the colon has not been added to the new line.

Steps to reproduce:

0. Start with a simple colon indented section. (See here: http://en.wikipedia.org/w/index.php?title=User:Markhurd/Sandbox&oldid=566721115 )

  1. Edit with VE.
  2. Click at end of last indented line.
  3. Press Enter. Note this displays as continuing the indentation.
  4. Type some text.
  5. Save. Note that the colon is not included. (You can see it missing with Show Changes.)

My diff: http://en.wikipedia.org/w/index.php?title=User:Markhurd/Sandbox&diff=566721183&oldid=566721115


Version: unspecified
Severity: normal

Details

Reference
bz52399

Event Timeline

Created attachment 13202
VE shows the new text as indented, but it isn't

I've just reproduced this in Firefox 23/Linux/Monobook. The screenshot shows how VE displayed it, the dif showing what was actually saved is: https://en.wikipedia.org/w/index.php?title=User%3AThryduulf%2Fsandbox&diff=570859913&oldid=570858997

The trailing blank lines are bug 50995, and this may be an artefact of the same bug as the displayed blank lines do not exist in the source.

Attached:

VE_indentation.png (728×310 px, 15 KB)

Jdforrester-WMF lowered the priority of this task from High to Medium.Jan 15 2015, 12:30 AM
Jdforrester-WMF set Security to None.