Hello!
I’m using Ditto 2.0.2 with &tpl=`teaserXT` (my own chunk).
teaserXT is
<div class="ditto_item" id="ditto_item_[+id+]">
[[showPreviewXT? &spvImageName=`[+teaserBild+]` &flash=`[+teaserFlash+]` &introText=`[+introtext+]` &nurBild=`[+nurBild+]` &kategorie=`[+kategorie+]` &flashW=`[+flashWidth+]` &flashH=`[+flashHeight+]`]]
</div><br/>
As you can see, I’m calling my own snippet showPreviewXT wich generates the HTML depending on some of the given parameters. [+introtext+] is the standard [*introtext*] document variable. All others are TVs.
The problem is: The snippet receives wrong values for the parameters:
a) if the string conatins a "?", it is omitted. It’s just not there. "Hello? There." becomes "Hello There".
b) if the string contains a "&", the value is cut at the second last character before the "&", wich means: an original value of "hans&franz" will become "han" in the snippet.
What’s wrong here? Thanks for any tipps
Martin