Loading...
 
Skip to main content

FOOTNOTEAREA: Some footnote numbers displayed on their own line

Status
Open
Subject
FOOTNOTEAREA: Some footnote numbers displayed on their own line
Version
17.x Regression
18.x
Category
  • Regression
Feature
Wiki Plugin (extends basic syntax)
Resolution status
New
Submitted by
Philippe Cloutier
Lastmod by
Philippe Cloutier
Rating
(0)
Description

In corner cases, a footnote number in the footnote area will display alone on its line. The beginning of the note itself will go to the next line. There are 2 conditions needed for a footnote to be affected:

  1. it contains an HTML paragraph (<p>)
  2. it has a line long enough to wrap, as in the following:
Example
Copy to clipboard
Content{FOOTNOTE()} Paragraph with at least one really long line which continues, continues, continues, continues, continues, continues, continues, continues, continues, continues, continues, continues, continues, continues, continues, continues, continues, continues... *Dummy item in a list which makes the preceding paragraph a real paragraph {FOOTNOTE} {footnotearea}


This was caused by a switch to parse_data_plugin() in r61394. That being said, the previous situation was already not ideal. The footnote number is inside the horizontal space occupied by the footnote itself (data), so there is no real distinction between the footnote number and some number which would be at the beginning of a footnote. I believe each footnote should be displayed using 2 rectangles with equal height. The content of a footnote should be in a rectangle to the right of a small rectangle containing only the footnote's number. This would match Wikipedia's behavior. wikiplugin_footnotearea.tpl could be modified accordingly, but adopting the HTML used by Wikipedia would require us to change behavior a bit.

Importance
2
Easy to solve?
8
Priority
16
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6601
Created
Tuesday 20 March, 2018 13:10:27 UTC
by Philippe Cloutier
LastModif
Friday 01 June, 2018 17:38:42 UTC


Show PHP error messages