NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.
You are here: Foswiki>Tasks Web>Item1115 (21 Feb 2009, IsaacLin) Edit this topic text (e) Attach an image or document to this topic; manage existing attachments (a) View sequential topic history View without formatting (v) Create new topic Printable version of this topic (p) More: delete or rename this topic; set parent topic; view and compare revisions (m)

Item1115: numbered lists behave different for numbers and characters

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Low New Engine    
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

ItemTemplate edit

Summary numbered lists behave different for numbers and characters
ReportedBy MatthiasThullner
Codebase 1.0.0
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component
Priority Low
CurrentState New
WaitingFor
Checkins
ReleasedIn
Topic revision: r2 - 21 Feb 2009 - 17:02:27 - IsaacLin
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads