Ticket #4848 (new defect)
Opened 5 years ago
Last modified 12 months ago
Unable to return to previous indentation within wiki
| Reported by: | charles@… | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.14-wikiengine |
| Component: | wiki system | Version: | 0.10.3 |
| Severity: | major | Keywords: | wikisyntax list |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description (last modified by cboos) (diff)
0. Item 1[[BR]]
Some text regarding Item 1
* Item 1.a
* Item 1.b
Further text regarding Item 1
0. Item 2
is rendered as:
- Item 1
Some text regarding Item 1- Item 1.a
- Item 1.b
- Item 2
i.e. with Trac 0.11.4stable-r7988
<ol class="arabiczero"><li>Item 1<br /> Some text regarding Item 1 <ul><li>Item 1.a </li><li>Item 1.b </li></ul></li><li>Further text regarding Item 1 </li></ol><ol class="arabiczero"><li>Item 2 </li></ol>
"Further text regarding Item 1" should be rendered at the same indent level as "Some text regarding item 1", and without becoming a new list item itself (or causing Item 2 to be rendered as the first item in a new list).
Attachments
Change History
comment:1 Changed 5 years ago by cboos
- Keywords wikisyntax list added
- Milestone set to 0.11
comment:2 Changed 5 years ago by cboos
- Milestone changed from 0.11 to 0.12
WikiEngine refactoring and related fixes postponed.
comment:3 follow-up: ↓ 4 Changed 3 years ago by cboos
- Severity changed from normal to major
Related issue:
0. Item 1[[BR]]
Some text regarding Item 1
* Item 1.a
* Item 1.b
Further text regarding Item 1
0. Item 2
- Item 1
Some text regarding Item 1- Item 1.a
- Item 1.b
Further text regarding Item 1
- Item 2
comment:4 in reply to: ↑ 3 Changed 3 years ago by cboos
- Description modified (diff)
i.e. the example from comment:3 produces the following HTML, with Trac 0.11.4stable-r7988:
<ol class="arabiczero"><li>Item 1<br /> Some text regarding Item 1 <ul><li>Item 1.a </li><li>Item 1.b </li></ul></li></ol><blockquote> <p> Further text regarding Item 1 </p> </blockquote> <ol class="arabiczero"><li>Item 2 </li></ol>
While the nesting looks a bit better, here we have a new blockquote, which is also wrong.
comment:5 follow-up: ↓ 6 Changed 2 years ago by cboos
- Milestone changed from next-major-0.1X to 0.13
Note that the issue originally reported has been fixed in r9073, but the problem shown in comment:3 remains.
More generally, we should be able to support running text going back to the start of the list, as in:
| Wiki Markup | Display |
|---|---|
- this starts a list item and this is still the same item - now we're in a subitem and we stay in that subitem - another subitem etc. |
etc. |
Which works, except for lists starting at the beginning of lines:
| Wiki Markup | Display |
|---|---|
- this starts a list item and this is still the same item - now we're in a subitem and we stay in that subitem - another subitem etc. |
and this is still the same item
etc. |
comment:6 in reply to: ↑ 5 Changed 19 months ago by Carsten Klein <carsten.klein@…>
Replying to cboos:
The problem here is that the list is not continued beyond the end of the first item.
I see it so that at the end of the last list item one must enter two line feeds in order for the parser to be able to detect a continued list item, like in the example in comment 5.
Example 1
- list item that extends across multiple lines requires that at its end two line feeds must occur continuing with normal text...
Example 2
- or, in case that sub items will follow, another list item of either the same or a different identation level must follow - sub item 1 description of sub item 1 continued description of subitem 1, at which end also two line feeds must occur to end the surrounding list continuing with normal text...
comment:7 Changed 12 months ago by cboos
- Milestone changed from 0.13 to 0.14-wikiengine



Good example, thanks.