forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sjur N. Moshagen (JIRA)" <>
Subject [jira] Created: (FOR-680) The jspwiki parser renders nested lists invalid
Date Tue, 27 Sep 2005 10:13:49 GMT
The jspwiki parser renders nested lists invalid

         Key: FOR-680
     Project: Forrest
        Type: Bug
  Components: Plugin: Wiki  
    Versions: 0.7    
 Environment: MacOS X 10.4.2, Java 1.4.2
    Reporter: Sjur N. Moshagen

Lists within lists are parsed into an invalid structure. The following input:

!!!Test title

Test list:

* li1
* li2
** li2a
** li2b
** li2c
* li3

comes out as the following xml:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
<title>Test title</title>
<p>Test list: </p>
    <li>li1 </li>
    <li>li2 </li>
        <li>li2a </li>
        <li>li2b </li>
        <li>li2c </li>
    <li>li3 </li>

Note that the inner <ul> is not within the preceding <li> as required by the dtd,
but inserted between to <li>s.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message