Edgewall Software
Modify

Opened 19 years ago

Last modified 7 years ago

#1936 new defect

indented ordered and unordered lists have additional bullets and numbers

Reported by: vittorio@… Owned by:
Priority: normal Milestone: topic-wikiengine
Component: wiki system Version: devel
Severity: normal Keywords: bullet lists
Cc: vittorio@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

if ordered and unordered lists start indented with more than two spaces, additional bullets and numbers are generated.

examples:

   * foo
   * bar

   1. foo
   2. bar

      * foo
      * bar

      1. foo
      2. bar

output:

  • foo
  • bar
  1. foo
  2. bar
  • foo
  • bar
  1. foo
  2. bar

if a list entry is indented more than three spaces as the previous list entry, additional bullets and numbers are generated too.

examples:

 * foo
     * bar

 1. foo
     1. bar

output:

  • foo
    • bar
  1. foo
    1. bar

tested using trunk r2068 and 0.8.4, python 2.3

Attachments (0)

Change History (11)

comment:1 by vittorio@…, 19 years ago

Summary: indented ordered and unordert lists have additional bullets and numbersindented ordered and unordered lists have additional bullets and numbers

comment:2 by vittorio@…, 18 years ago

Resolution: fixed
Status: newclosed

again tested using trac 0.10, there are no additional bullets and numbers anymore. so this got fixed already.

comment:3 by Christian Boos, 18 years ago

Resolution: fixed
Status: closedreopened

Yes, this was part of the efforts to better handle "Changelog" style texts, see #124.

comment:4 by Christian Boos, 18 years ago

Resolution: duplicate
Status: reopenedclosed

comment:5 by hbd@…, 18 years ago

Keywords: bullet list added
Resolution: duplicate
Status: closedreopened

The original ticket did not describe desired behaviour. So, the fix removed the original strange behavior (additional bullets), but made the rendering worse for those who edit the wiki text in VIM and use blank lines to separate bulleted list items on each level of list.

Desired behavour: Instead of generating 2, 3, etc bullets for an indented "*", generate a single bullet of level 2, 3, etc. with proper indent.

Example: the wiki text below should produce a correct 3-level bulleted list. Originally, rendered "level 2" had 2 bullets (however, looking like true level 2); after the fix, all levels look like "level 1", and that is bad.

 * level 1

   * level 2

     * level 3

     * level 3

   * level 2

 * level 1
  • level 1
  • level 2
  • level 3
  • level 3
  • level 2
  • level 1
Last edited 7 years ago by Ryan J Ollos (previous) (diff)

comment:6 by Christian Boos, 18 years ago

Milestone: 0.11
Owner: changed from Jonas Borgström to Christian Boos
Status: reopenednew

We currently reset the indent when a new paragraph is created by the empty line.

I plan to start soon a refactoring on the Wiki engine (split parse and rendering steps). Meanwhile, it would be better if there were no big changes on the current Wiki engine.

in reply to:  6 comment:7 by hbd@…, 18 years ago

Replying to cboos:

I plan to start soon a refactoring on the Wiki engine (split parse and rendering steps). Meanwhile, it would be better if there were no big changes on the current Wiki engine.

OK. I hope that after refactoring, the "desired behaviour" described in my comment from 10/04/2006 will be implemented. Newlines really improve readability and editability of the source text of wiki lists.

comment:8 by Christian Boos, 17 years ago

Milestone: 0.110.12

WikiEngine refactoring and related fixes postponed.

comment:9 by Christian Boos, 14 years ago

Keywords: lists added; list removed
Milestone: next-major-0.1X0.13

comment:10 by Christian Boos, 13 years ago

Milestone: 0.130.14-wikiengine

comment:11 by Ryan J Ollos, 9 years ago

Owner: Christian Boos removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.