incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomasz Szymko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-165) Improved mixed list support
Date Wed, 06 Feb 2008 15:17:08 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566150#action_12566150
] 

Tomasz Szymko commented on JSPWIKI-165:
---------------------------------------

I tested previous patch with tests from JSPWikiMarkupParserTest - it doesn't brake anything,
and more over passes tests, I've just added as a second patch.

> 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
>         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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message