Bad rendering of nested list in template

RESOLVED INVALID

Status

support.mozilla.org
Knowledge Base Software
RESOLVED INVALID
7 years ago
7 years ago

People

(Reporter: Scoobidiver (away), Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
This template is a good example:
https://master.support.mozilla.com/en-US/kb/Template:profileFolder
If you have this template:
** item 1
## item 2
## item 3
It renders like that:
 . o item 1
1.1. item 2
  2. item 3
(Reporter)

Updated

7 years ago
Component: General → Knowledge Base Software
QA Contact: general → kb-software
You don't have a top level list, and the nested list format has changed from tiki. What you probably want is:

* something
** item 1
*# item 2
*# item 3

Updated

7 years ago
Target Milestone: --- → 2.3
(Reporter)

Comment 2

7 years ago
In general, this template is used as follow in an article:
# list 1
* bullet 1
[T:profileFolder]
In order to render like that:
1. list 1
 . bullet 1
   o item 1
   A item 2
   B item 3
If there is a new syntax for list, it must be taken into account in migration script.
The template linked in comment 0 has the following syntax:

> text
> ** (nested ul > li > ul)
> ## (nested ol > li > ol)
> ## (nested ol > li > ol)

That's just not correct syntax. I'd say we could try to fix the migration but it's not nested correctly in the original, either.

So for the document in comment 0, we may just need to fix it by hand (fortunately there are only 4 versions, en-US, fr, de, and es).

As for supporting something where the template has the correct syntax, and you want to include

> * Item 1
> [[T:Nested List]]

I'm not entirely sure this is possible with the wiki renderer we have now, or at least not without more work than we have time for in 2.3.
Target Milestone: 2.3 → ---
(Reporter)

Updated

7 years ago
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.