>>>>You can use FixHTMLForDisplay() around your expressions to do this... It fixes up quotes and HTML markup tags.
>>>
>>>Yes, I have found that this is the best place to put it. Basically, after I thought about it more, I couldn't see any proper logic to apply in MergeText() to handle those situations.
>>
>>What do you mean? If you're not merging anything like ASP style tags why use MergeText in the first place?
>
>When we call Response.ExpandTemplate(), it does call oEval.MergeText(). As all of our forms do call ExpandTemplate(), we are bound to how MergeText() does. It does well. It's just that I tried to put some code in it to deal with those characters when it is a text but I haven't found a proper way to do it as I only want to conversion to be done when this is a text input.
I still don't understand. If you're not using the ASP style tags there's no reason to use ExpandTemplate(). If there are ASP style tags in whatever document you use then you can apply the code I posted to any of the tags that need it. It won't be automatic, because formatting doesn't require this in most cases...
+++ Rick ---