[ZCM] [ZC] 278/ 1 Request "underscore on image bug in DocumentWithImages class of STX"
Collector: Zope Bugs and Patches ...
zope-coders@zope.org
Fri, 08 Mar 2002 11:23:24 -0500
Issue #278 Update (Request) "underscore on image bug in DocumentWithImages class of STX"
Status Pending, Zope/bug medium
To followup, visit:
http://collector.zope.org/Zope/278
==============================================================
= Request - Entry #1 by sidnei on Mar 8, 2002 11:23 am
Uploaded: "StructuredTextShouldBe.py"
- http://collector.zope.org/Zope/278/StructuredTextShouldBe.py/view
I was trying to use STX with Images, so after searching,
found this url:
http://www.zope.org/Members/Barabbas/stx_to_html
This is a external method which calls STX with DocumentWithImages
and HTMLWithImages to render a "image":img:url_of_image
After examining the code of this external method, i thought that
the bug in DocumentWithImages was fixed after Zope 2.4, so i tried to use
HTMLWithImages and DocumentWithImages directly, instead of using
the regex mentioned there.
So, i think that the bug on DocumentWithImages needs to be fixed,
using the regex of this external method.
Here are the files.
StructuredTextShouldBe.py: how i think that Structured Text should be used
to generate image tags. Seems to be the right way, however images with
underscore on the url doesnt render correct.
==============================================================