[Zope-CMF] CMFDocument STX trailing punctuation bug?

Colin Leath cleath@j9k.com
Sat, 07 Sep 2002 19:52:58 +0000


I am not able to use STX URLS with trailing punctuation in a
CMFDocument:
e.g.:
_W/trailing punctuation_ --
"http://www.zope.org/":http://www.zope.org.
in that case, the period is incorporated into the URL.

This works for me when I create non-cmf documents and call them with
dtml-var fmt="structured-text"

Also the following (an excerpt from an stx howto) is not underlined
in a CMFDocument stx, but works with other ways of calling stx:

.. [1] _(The referring text should be a paragraph, not a header, and
    should contain a reference to this footnote, footnote "[1]".)_

I assume this is a known issue?

as a workaround I've been putting a space at the end of URL:

"joycevedral.com":http://joycevedral.com ,

is there another approach that will make it work?

Why the difference in STX capabilities depending on where it's used
(dtml, vs zpt, vs CMFDOC)? I've started looking in the code and my
only initial guess is the "level" specification.

thanks,
Colin