Loading...
 
Skip to main content

Ordered list numbering isn't correct

Status
Pending
Subject
Ordered list numbering isn't correct
Version
27.x
28.x
29.x
30.x
31.x (future, currently trunk)
Category
  • Regression
Feature
Wiki Syntax (text area, parser, external wiki, etc)
Resolution status
Please retest
Submitted by
Gary Cunningham-Lee
Lastmod by
luci
Rating
(0)
Description

Ordered lists by default are numbering the list sub-items incorrectly, I believe. But when the admin option "Multilevel style numbering for ordered lists" is activated, then the numbering is correct. I believe the numbering that the admin option provides should actually be the default, so there might be no need for the option. I suggest removing the option and making its numbering method the default. That is, all ordered list elements in wiki text should have list-style-type: decimal . Or if the admin option is retained, it could have a selector of other ol list-style-types.

Also, when this option is activated currently, a class is added to the body tag that gives the body a left margin of 2rem. There is no reason for this class on the body tag, as far as I know, and we for sure don't want it to be adding a new margin to the whole body of the page.

See the discussion with screenshots here: https://matrix.to/#/!SLEgqpTNTlGYAhzNvK:gitter.im/$jVZB_SGxWolFLB9xOaCuzPIX50EfJqpipaNStGchSKw?via=gitter.im&via=matrix.org&via=sans-nuage.fr

Solution
Workaround
Importance
7
Easy to solve?
6
Priority
42
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8757
Created
Thursday 16 January, 2025 12:59:33 UTC
by Gary Cunningham-Lee
LastModif
Tuesday 30 June, 2026 16:05:31 UTC


Show PHP error messages