This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]
TitleUnhappy with JSPWiki's HTML engine
Date31-Mar-2005 17:53:48 EEST
Version
Submitter145.64.134.244
Bug criticalityBadBug
Browser version
Bug statusNewBug
PageProvider used
Servlet Container
Operating System
URL
Java version

I believe that the HTML code generated by JSPWiki could and should be done better. My main concern is about the proper generation of paragraph tags (<p></p>). For example I'm editing a page to read: ================================= This is my first paragraph.

This is my second paragraph. ================================= This get renderd like:

[..]
<div id="pageContent"> 
This is my first paragraph.
<p>This is my second paragraph.</p>
[..]

This is actually wrong IMHO. Both paragraphs should be <p>-tagged.

A similar problem is about paragraphs and headings. Assume you have this Wiki notation:

=====================================
!!Section 1

Paragraph 1

!!Section 2
======================================

This gets rendered like:

<h3>..Section 1 ..</h3>
<p>Paragraph 1</p>
<p><h3>..Section 2..</h3></p>

Here JSPWiki embraces the second heading with a <p>-tag where it shouldn't: A heading is n o t a paragraph.

This kind of unexpected HTML rendering (there are a couple of further issues) makes it extremly difficult to create a Wiki with a nice layout.


Please which version you're talking about - 2.1 has a far better HTML renderer than 2.0...

-- JanneJalkanen

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 31-Mar-2005 19:36 by JanneJalkanen.