Page MenuHomePhabricator

VisualEditor: Citation tool adds stray line break at the end of the template
Closed, ResolvedPublic

Description

Intention:
Add a citation with the new citing tool

Steps to Reproduce:

  1. Add a citation.
  1. Look at the dirty diff that results.

Actual Results:
The new cite tool produces this

<ref>{{Cite web|url = http://example.com|title = Example Title|date = 2014|last = Expert|first = Alice}}
</ref>

(on two lines) rather than one line that it should:

<ref>{{Cite web|url = http://example.com|title = Example Title|date = 2014|last = Expert|first = Alice}}</ref>

Reproducible: Always


Version: unspecified
Severity: enhancement

Details

Reference
bz63128

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:05 AM
bzimport set Reference to bz63128.

That's not the meaning of the term "dirty diff". :-) But yes.

Do you have a link to an example diff? I'm trying to reproduce this locally but I can't, in neither Chrome nor Firefox.