Page MenuHomePhabricator

CX2: Avoid unnecessary extra divs in references
Closed, DuplicatePublic

Description

References which include their details directly (without using any template to structure them) are often adapted with additional <div> elements.

For example, when translating Ток-бокс from Russian to Ukrainian, a reference such as the 3rd one seems properly adapted when added to the translation, but when inspecting the contents, empty lines can be noticed above and below the reference contents:

Screen Shot 2018-11-23 at 14.14.12.png (200×1 px, 78 KB)
Screen Shot 2018-11-23 at 14.14.16 2.png (229×1 px, 28 KB)

When the article is published, the unnecessary <div> elements are included:

Screen Shot 2018-11-23 at 14.16.47.png (227×898 px, 89 KB)


This was originally reported in this comment

Event Timeline

Pginer-WMF triaged this task as Medium priority.Nov 23 2018, 1:25 PM
Pginer-WMF created this task.
Pginer-WMF renamed this task from CX2: Avoid extra divs in references to CX2: Avoid unnecessary extra divs in references.Nov 23 2018, 1:27 PM
Pginer-WMF updated the task description. (Show Details)
Pginer-WMF updated the task description. (Show Details)