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:

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


This was originally reported in this comment