You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Janne Jalkanen (JIRA)" <ji...@apache.org> on 2008/04/20 11:34:27 UTC
[jira] Resolved: (JSPWIKI-165) Improved mixed list support
[ https://issues.apache.org/jira/browse/JSPWIKI-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Janne Jalkanen resolved JSPWIKI-165.
------------------------------------
Resolution: Fixed
Added in 2.7.0-svn-14. Thanks!
(BTW, the patch you cut-n-pasted into the JIRA issue, the one with the one-line-patch, did not apply at all cleanly. Apparently it had broken in the cut-n-paste. So it looks like that even with small patches, we just need to attach them instead of putting them inline.)
> 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.
-
You can reply to this email to add a comment to the issue online.