[Zope-CMF] STX and long links

Dave Lehman davelehman@loewen.com
Thu, 30 Aug 2001 12:18:25 -0500


I'm having some problems with creating hyperlinks in STX (Standard Text).
For example (no, i'm not trying to convert you all-- this is actually what
I was working on):

The verse "Ephesians
2:8-9":http://bible.gospelcom.net/bible?passage=Ephesians+2:8-9 explains
that God's grace is our only way to salvation.

renders as:

<p>The verse <a href="http://bible.gospelcom.net/bible?passage">Ephesians
2:8-9</a>=Ephesians+2:8-9 explains that God's grace is our only way to
salvation.</p>

when what I want is:

<p>The verse <a href
="http://bible.gospelcom.net/bible?passage=Ephesians+2:8-9
&language=english&version=NIV">Ephesians 2:8-9</a> explains that God's
grace is our only way to salvation.

It's getting mixed up and ending the hyperlink after the "=" instead of
waiting for the first whitespace (which is what I want it to do).

Is this a bug, or does STX have a legitimate reason to sneer at equals
signs?

Regards,
Dave