You are here: Foswiki>Tasks Web>Item1115 (05 Jul 2015, GeorgeClark)Edit Attach

Item1115: Numbered lists behave different for numbers and characters. Document as a restriction.

pencil
Priority: Low
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component: FoswikiRender
Branches: master
Reported By: MatthiasThullner
Waiting For:
Last Change By: GeorgeClark
numbered lists with characters are not working correctly

numbered list can be done like this:
   1 bla bla
   1 foo foo
   1 bar bar
  1. bla bla
  2. foo foo
  3. bar bar
but also like this:
   1 bla bla
   2 foo foo
   3 bar bar
  1. bla bla
  2. foo foo
  3. bar bar
somehow this is not possible for lists with characters
   a bla bla
   b foo foo
   c bar bar
a bla bla b foo foo c bar bar
or
   a. bla bla
   b. foo foo
   c. bar bar
first entry is reconed as a list, but not the following ones (b. is now valid here)
  1. bla bla b. foo foo c. bar bar
   a bla bla
   a foo foo
   a bar bar
does not work, '.' is required
a bla bla a foo foo a bar bar
   a. bla bla
   a. foo foo
   a. bar bar
however works
  1. bla bla
  2. foo foo
  3. bar bar

behaviour of numbered lists differ for numbers (1, 2, ..) and characters (a, b, ..). This is confusing and should not be so ...


One problem with trying to support lettered lists without requiring the period is that single-letter words (most notably, "a" and "I") would cause another list item to be generated. For numbered lists, only "1." is shown in the official documentation. Unfortunately for consistency, I believe backwards compatibility issues will make it difficult to change the behaviour to conform strictly. -- IsaacLin - 21 Feb 2009


See also Item13119 for same issue. Updating the documentation under this task, and marking Item13119 as a duplicate.

ItemTemplate edit

Summary Numbered lists behave different for numbers and characters. Document as a restriction.
ReportedBy MatthiasThullner
Codebase 1.1.9, 1.0.0, trunk
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component FoswikiRender
Priority Low
CurrentState Closed
WaitingFor
Checkins distro:a4344e2c4702
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:a4344e2c4702
ItemBranchCheckins
Release01x01Checkins
Topic revision: r5 - 05 Jul 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy