| Title | Unhappy with JSPWiki's HTML engine |
| Date | 31-Mar-2005 17:53:48 EEST |
| Version | |
| Submitter | 145.64.134.244 |
| Bug criticality | JSPWiki:BadBug![]() |
| Browser version | |
| Bug status | ClosedBug |
| 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...
I believe after testing 2.2.28 for a while now that this bug should be closed for the current stable release.
-- Gregor Hagedorn
I agree. Closing.
