You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Florian Holeczek (JIRA)" <ji...@apache.org> on 2011/09/11 01:25:08 UTC

[jira] [Closed] (JSPWIKI-165) Improved mixed list support

     [ https://issues.apache.org/jira/browse/JSPWIKI-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Holeczek closed JSPWIKI-165.
------------------------------------


> Improved mixed list support
> ---------------------------
>
>                 Key: JSPWIKI-165
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-165
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Core & storage
>    Affects Versions: 2.6.0
>            Reporter: Tomasz Szymko
>            Priority: Minor
>             Fix For: 2.8
>
>         Attachments: JSPWikiMarkupParserTest.patch
>
>
> if you create mixed list like this:
> {noformat}
> * bullet_1
> ** bullet_1_1
> *# number_1_2
> * bullet_2
> {noformat}
> JSPwiki produces such HTML:
> {noformat}
> <ul>
> 	<li>bullet_1
> 		<ul>
> 			<li>bullet_1_1</li>
> 		</ul>
> 	</li>
> 	<ol>
> 		<li>number_1_2</li>
> 	</ol>
> 	<li>bullet_2</li>
> </ul>
> {noformat}
> which is wrong, because inside <ul> elements, only <li> elements are allowed.
> JSPwiki should be changed to produce correct HTML:
> {noformat}
> <ul>
> 	<li>bullet_1
> 		<ul>
> 			<li>bullet_1_1</li>
> 		</ul>
> 		<ol>
> 			<li>number_1_2</li>
> 		</ol>
> 	</li>
> 	<li>bullet_2</li>
> </ul>
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira