[Zope] Random header tags in structured text?

Milos Prudek prudek@nembv.cz
Thu, 24 Feb 2000 12:21:13 +0100


Why would structured text rendering randomly put html header tags around
some
text?

I have a index_html with this content:
<dtml-var glossary_h>
<dtml-var os fmt=structured-text>
<dtml-var sw_linux fmt=structured-text>
<dtml-var glossary_f>

The os DTML document has this content:
Operating system -- Computer operating system (OS for short) is the
basic program. Your computer must have 
an operating system in order to work at all. Examples of operating
systems include Linux, BeOS, 
and Microsoft Windows.

If you use Linux, your programs should also be for Linux (see <A
HREF=sw_linux>Linux software</A>).

If you use Linux, your programs should also be for Linux (see <A
HREF=sw_linux>Linux software</A>).


The glossary_h has this content: <HTML><HEAD><TITLE><!--#var
title_or_id--></TITLE></HEAD><BODY BGCOLOR="#FFFFFF">
<H4>Header</H4>

The glossary_f has this content: <H4>Footer</F4></BODY></HTML>

When index_html is rendered, the first "if you use Linux" sentence is
normal,
but the second one is surrounded by <h3> tags. If there are three such
lines,
then the third one is surrounded by <h3>, etc.

This does not happen for DTML document "sw_header", which is also just a
structured text.

My Zope is version 2.1.1, source release, Linux.
--
Milos Prudek