[Zope-dev] Structure-text : <html>
Jens Vagelpohl
jens@zope.com
Thu, 20 Sep 2001 19:42:14 -0400
AFAIK this is the right behavior and not a bug. you ask for the
StructureText document to be rendered and you inform the rendering
machinery that the document is in structured text. the rendering process
will output HTML.
i think what you want is to simply say <dtml-var StructureTextDoc> without
the "fmt" flag. that should get you the raw structured text. the rendering
process then assumes the document is already in some kind of HTML format
and does not try to generate HTML tags.
jens
On Thursday, September 20, 2001, at 07:14 , Sin Hang Kin wrote:
> When I use <dtml-var StructureTextDoc fmt=structured-text>
>
> I got <html> </html> in the result. Are there any reason that it should be
> there? I wounder how can structured text generate valid html or be used in
> wap applications.
>
> If structured text is hard coded to output unnecessary <html> then I
> consider it a serious bug. And there should be coding rules that ensure in
> future no such bugs exist in Zope.
>
>
> Rgs,
>
> Kent Sin
> ---------------------------------
> kentsin.weblogs.com
> kentsin.imeme.net
>
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )