[Zope] structured text inner/named link still do not work

Andreas Jung andreas@zope.com
29 Oct 2001 11:59:23 -0500


On Mon, 2001-10-29 at 11:47, Robert Rottermann wrote:
> Andreas,
> 
> The output I get generated is very different.
> This is hat I am doing:
> 
> - I have a dtml-method called text. It's content is the content of
> InnerLinks.stx.
> - I have a second dtml-method that calls it like so:
>     <dtml-var text fmt="structured-text">
> 
> This is the output it generated:
> <h3>This is the InnerLinkTest</h3>
> <p>  see also <a href="#1"><a href="#1">[1]</a></a> and <a href="#2"><a
> href="#2">[2]</a></a></p>
> <p>  .. <a href="#1"><a href="#1">[1]</a></a> "Zope Book" by Amos Lattmeier
> and Michel Pelletier</p>
> <p>  .. <a href="#2"><a href="#2">[2]</a></a> "Python Book" by Guido van
> Rossum</p>
> 
> Which is very! different to what you did send me.
> 

The changes I made affected only the standalone usage of STXNG but
when the use through DTML. There is now a fix of DocumentTemplate/DT_Var.py
in the trunk that fixes this problem too. Using STXNG standalone or through 
DTML should show the same behaviour.

Andreas