stx_to_html.py doesn't render tables in structured text
Trying to figure this one out. I'm using Barabbas stx_to_html.py in Zope 2.4 I took the Zope regression/example.stx file and try rendering it, but tables are shown as paragraphs. The output from DWIClass, shows: StructuredTextParagraph( |||| A Simple Two-column Table || || Column A || Column B || || Apples || Oranges ||, [ ]) Where I expect StructuredTextTable instead. I suspect this has something to do with class munging in stx_to_html, but I can't figure it out. I've toyed around.. Anyone have any ideas? Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements
Hi Brad! Sorry for answering so late. I have the same problem using Zope 2.4.1, BUT <dtml-var my_stx fmt=structured-text> doesn't render tables either (not anymore)! I will take a deeper look now, but if you can confirm that fmt=structured-text fails as well I think this is something for the Collector... Danny On Thursday 20 September 2001 11:01, Brad Clements wrote:
Trying to figure this one out.
I'm using Barabbas stx_to_html.py in Zope 2.4
I took the Zope regression/example.stx file and try rendering it, but tables are shown as paragraphs.
The output from DWIClass, shows:
StructuredTextParagraph( |||| A Simple Two-column Table ||
|| Column A || Column B || || Apples || Oranges ||, [
])
Where I expect StructuredTextTable instead.
I suspect this has something to do with class munging in stx_to_html, but I can't figure it out.
I've toyed around.. Anyone have any ideas?
Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements
_______________________________________________ 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 )
participants (2)
-
Brad Clements -
Danny William Adair