Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon4.gif   Numbered lists get closed by </ul>, posted by T. Ribbrock on Mon Jan 30 16:26:08 2006 
    icon2.gif   Re: Numbered lists get closed by </ul>, posted by Stefan Ritt on Tue Feb 7 12:58:10 2006 
Message ID: 1643     Entry time: Mon Jan 30 16:26:08 2006     Reply to this: 1659
Icon: Warning  Author: T. Ribbrock  Author Email: emgaron@gmx.net 
Category: Bug report  OS: Linux  ELOG Version: 2.6.1-1637 
Subject: Numbered lists get closed by </ul> 
I just ran into the following problem (and was able to reproduce it in the "demo" logbook on this site):

  • Create a new entry
  • Create a numbered list:
    [LIST=1]
    [*] 1st entry
    [*] 2nd entry
    [/LIST]
    
  • In the resulting HTML code, the closing statement of that list translates to </ul> instead of </ol>, causing the list to remain open and all following text to be intented by the list indentation. This gets worse when several such lists are used in one document. I'll include an example below.

Numbered list follows:

  1. one
  2. two
  3. three

This text is indented, as the list was not closed properly.

  1. four
  2. five
  3. six

And now we have double indention...
ELOG V3.1.5-fe60aaf