Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you deal with double quote?
Message
 
À
04/12/2001 09:02:39
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Divers
Thread ID:
00586726
Message ID:
00589480
Vues:
46
>>>>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 ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform