This page creates some problematic markup to test the xhtml rendering engine. The source output should be tested against xml/html validators. This first paragraph already contains a problem that existed in the 2.2.28 rendering engine: If a Wiki topic starts with a paragraph rather than heading, the first paragraph is not enclosed in a p element (all further paragraphs are in p, ul, ol, pre, etc.).

Test 1 nested and non-nested inline formatting:#

First bold then italics, then subscript. Now bold then italics, then red then end of bold.

Now non-nested bold then italics then end of bold then start of red then end of italics' then end of red.

Linking with formatting and nested linking: Test __Bold__ Test(Page) Test[Page]

Direct linking of URL: http://172.18.1.99/, same with escaping http://172.18.1.99/. Note: in 2.2.28 with CamelCaseLinking turned on (as on http://www.jspwiki.org/), the first seems to result in a link, the second in a tilde with not-a-link. Thus auto-http detection is turned on with camel-casing, and correctly escaped using tilde, but the tilde is incorrectly shown.

Test 2 inline formatting across block level elements:#

Paragraph 1 starting bold

Paragraph 2 starting italics ending bold

Paragraph 3 ending italics

  1. List item starting bold
Paragraph starting italics ending bold_
  • List item ending italics

Nesting CSS formats:#

red and blue

Use of three braces#

Code with the three-brace markup on lines of its own.
Code with the three-brace starting on this line, ending on line of its own.
Code with the three-brace start and end on this line
 as above, blank after opening and before closing 

as above, blank before opening and after closing

as above, blank before and after both opening and closing

Code with the three-brace markup on lines of its own, but:
this text immediately follows the closing braces.

Text followed by three-braces Code with the three-brace markup on lines of its own, but: this text immediately follows the closing braces.

Text before Code with the three-brace start and end on this line Text after, this should definetely be inline usage.

Bulleted and numbered list issues#

  1. First item, written with blank after #, the blank should not be rendered in front of "First".
    1. Second level item, written without blank after #
      1. Third level
    2. Second level
  2. First level, second item
  • Bulleted list
    • Second level bulleted
      1. Numbered inside
      2. Numbered inside
  • Final item of bulleted list

A heading#

  • Another bulleted list item, should be a separate list.

Ruler#

---

Above this three hyphens displayed as hyphens, below this 4 and 8 hyphens, both should be displayed as a ruler:



However, a ruler should only appear when starting in column 1 of a line, i.e. not here:----when used in the middle of a paragraph. In JSPWiki 2.2.28, a ruler format is also recognized inline. Furthermore, this paragraph containing the ruler is not embedded in p.
In general, a paragraph immediately following a ruler seems to be not properly formatted.

A paragraph immediately followed by a rules is ok.


Table issues:#

A table heading Second column
A 2nd row of headings
table data row second column
A table heading Second column
table data row second column

(A table may not have th elements except at the start.)

A table heading Second column
table data row second column
above this should be an empty row

Note: for people with disabilities, all tables should have a summary attribute. Clearly, it does not really help them writing summary="user table", but having that helps with validation.

Below attempting tables with multiple paragraphs and lists:

A table heading Second column
First paragraph

Second paragraph | * First bullet

  • Second bullet |

This does not work, all table cells must be a single paragraph as of JSPWiki 2.2.28.

Escaping#

Problems in escaping the double-percent: CSS like %% (color:red)text %%. --

It should be possible to write tilde-square bracket using tilde-escaping: ~~[ or ~[ do not work, only ~[[ works.

-- Gregor Hagedorn, 2005-09-27

Many of the issues on this page should be resolved in the 2.5 rendering engine, including the missing <p> -tag. In fact, this page even validates on 2.4.96 engine :)

--JanneJalkanen, 27-Feb-2007

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-5) was last changed on 27-Feb-2007 18:14 by JanneJalkanen