incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janne Jalkanen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-165) Wrong HTML output for mixed list
Date Mon, 28 Jan 2008 17:25:34 GMT

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

Janne Jalkanen commented on JSPWIKI-165:
----------------------------------------

We don't have tests for them - if we did, it would be supported.

Mixing lists on the same level is not supported.  We need to figure out the rules for that
before proceeding, e.g.
{code}
* bullet 1
## bullet 2
** bullet 3
## bullet 4
* bullet 5
{code}

What is the number of bullet 4?  Random? Restart? Continues bullet 2 numbering?

> 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