View Ticket
Not logged in
Ticket UUID: aee2a1a927f8522f24744ee7f19bd90edd56241d
Title: Rendering of tags <pre> and <verbatim> not correct
Status: Fixed Type: Code_Defect
Severity: Minor Priority: Immediate
Subsystem: one Resolution: Fixed
Last Modified: 2008-07-24 12:35:28
Version Found In: f46fe42d6d
Description & Comments:
If you try to add following text in the sandbox, the resulting rendering is IMO not correct (please insert two spaces in front of every non-blank line in the sample below -- the sample should consists of 7 lines including the "pre" tags)
<pre>
This section encapsulated with <verbatim><pre></verbatim> will not be handled correctly

... if it does go over more ...

... than one line ...
</pre>

The inner "pre" is encapsulated within "verbatim" it still influence the rendering. And although the whole text is encapsulated within "pre", the first line will be rendered differently from the second and third one.

drh added on 2008-07-24 12:35:28:
I content that the <verbatim> rendering is correct and that it is your expectation of wha <verbatim> is suppose to do that is wrong. To this end, I have attempted to clarify the documentation on <verbatim>:

The <verbatim> tag works like <pre> with the addition that it also disables all wiki and HTML markup through the matching </verbatim>.