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) Wrong HTML output for mixed list
Date Mon, 28 Jan 2008 13:45:37 GMT

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

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

I'm not sure what is not supported... 
Mixed list are important part of "Collapsible List".

besides, if I mix lists, like this:
{noformat}
* bullet_1
## bullet_1_1
## number_1_2
* bullet_2
{noformat} 
then output is ok.  

So only mixing lists on same level, like this:
{noformat} 
* bullet_1
** bullet_1_1
## number_1_2
* bullet_2
{noformat}
(which also produces bad html) is not supported? no kidding... why? 

I still think it is a bug, not an improvement request.




> Wrong HTML output for mixed list
> --------------------------------
>
>                 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
>
> 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