[Zope] Random header tags in structured text?

Jim Sanford jsanford@atinucleus.com
Thu, 24 Feb 2000 08:38:28 -0600


Here are the definitions of how to display hyperlinks in structured text.
This is from the Zope Quick Reference at:
http://www.zope.org/Members/ZQR/zqr/zqrxml/e0/e72/e6386/view_section

---------------------
Hyperlinks (relative or absolute): Text enclosed by "double quotes":colon, URL, and puctuation then white-space, or just
white-space.

Hyperlinks (absolute): Text enclosed by "double quotes",comma, one or more spaces, absolute URL and concluded by punctuation then
white space, or just white space.
-------------
eg.:
If you use Linux, your programs should also be for Linux ( see "Linux Software":sw_linux ).
 __________________________________________________________________

              Jim Sanford
      .       Database/Web Engineer
     / \  /   Accelerated Technology, Inc.
    /   /     720 Oak Circle Drive East
   /  /  \    Mobile, AL 36609
  / /     \   Voice: 334-661-5770  fax: 334-661-5788
 /         \  E-Mail: jsanford@atinucleus.com
              Web: http://www.atinucleus.com

 Source Code, No Royalties, Any CPU...It just make sense !
 __________________________________________________________________

----- Original Message -----
From: Milos Prudek <prudek@nembv.cz>
To: <zope@zope.org>
Sent: Thursday, February 24, 2000 5:21 AM
Subject: [Zope] Random header tags in structured text?


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

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )