19 Sep
2001
19 Sep
'01
2:11 a.m.
I want to use the img-Style in DTML-Documents which I include in other Documents via the <dtml-var xyz fmt=structured-text> command.
Hi Steffen! Instead of hacking into StructuredText.py, you may want to take a look at my external method http://www.zope.org/Members/Barabbas/stx_to_html , it subclasses and overrides, which is much cleaner. Of course you could copy that part into the original files if it is totally impossible for you to change you stx calls from <dtml-var xyz fmt=structured-text> to <dtml-var "stx_to_html(xyz)"> hth, Danny