[Zope] Unwanted <html><body> when rendering STX

Felix Ulrich-Oltean felix@chaptereight.com
19 May 2003 16:48:23 +0100


Hi

I use the StructuredText module in my Product to render some stx, and
I want to stop it from surrounding the result in
<html><body></body></html>.  Does the module support this?

My code atm is simply:

        return StructuredText.HTML(theRawText)

My 2 options seem to be:

1) Manually search for and chop off the tags

2) Try to copy what CMFCore/utils/format_stx does, but this looks a
   bit tricky/overkill.

TIA,

Felix.