TitleInline Usage Of Three Brace Escaping Broken
Date29-Aug-2005 15:21:52 EEST
Version2.2.28
SubmitterGregorHagedorn
Bug criticalityMediumBug
Browser version
Bug statusClosedBug
PageProvider usedJDBC
Servlet Container
Operating System
URL
Java version

When using three braces as designed either a pre element or a inline span is rendered. However, the html generated is broken and causes undesired line breaks.

Using triple brace starting not on first line is rendered as span, but the paragraph before this is closed before placing the span directly inside the parent (e.g. body) element.

Minor issue 2: Using a triple brace starting on first line renders a pre tag, but and text after the closing braces is placed outside any html tag.

Minor issue 3: Note in the example below the consistent use of tt for two braces, but span with CSS for three braces - inline usage. I would think it more logical to use the html:tt element for inline-three-braces as well, and define the CSS in the style for tt. That way only one place has to be fixed or changed to modify the code-format.

---

Examples:

Three braces: #

monospaced on first line
text continued after.

Text before monospaced not on first line text continued after.

Two braces work as expected in both situations:#

monospaced on first line text continued after.

Text before monospaced not on first line text continued after.

-- Gregor Hagedorn - 2005-08-29

Three braces is meant to provide escape of any wiki markup translation. The fact that it happens to be rendered by default in monospace is accidental...

This is fixed in 2.3. CVS new rendering engine.

-- JanneJalkanen.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-6) was last changed on 27-Feb-2006 13:03 by 195.188.198.196