Topic on Extension talk:Cite

Jump to navigation Jump to search

Lingo breaking formatting when citations at end of line

1
64.251.40.241 (talkcontribs)

Cross posting the Lingo and Cite extension issue

We've found an odd formatting issue that pops up when Lingo is enabled. The following code should generate four headings with indented text below them, some with references before the full stop, and some after:

'''Heading 1'''
:Indented text with reference followed by a line break with clear which should clear previous formatting.<ref>Reference1</ref>

'''Heading 2'''
:Indented text with reference followed by blank line only, reference after punctuation.<ref>Reference 2</ref>

'''Heading 3'''
:Indented text with reference followed by blank line only, reference before punctuation<ref>Reference 3</ref>.

'''Heading 4'''
:And so on. All these display as expected in preview mode, including an extra line between 1 and 2. 

<references />

The expected formatting is shown in this image. However, when Lingo is enabled, the formatting is not correctly cleared at the end of any line where a citation comes after the punctuation - see this image. Inspection of the HTML source shows that various formatting tags are not being closed.- Danny252

Reply to "Lingo breaking formatting when citations at end of line"