Code snippet with apostrophe

  •  08-17-2010, 11:58 PM

    Code snippet with apostrophe

       This may be really simple but I don't know what to do. 
     
    I am dynamically adding code snippets. One of the strings has an apostrophe in it: Bear's Den
     
    This is what seems to be generated:
    <span val='^^pgc^^Bear''s Den Cabin^^' html='Photo Gallery - Bears Den Cabin' txt='Photo Gallery - Bears Den Cabin'></span>
    Makes sense to me but when I insert the code it inserts: 
     

    ^^pgc^^Bear

    Is there something I can do to make this work?
     
    Running Cute ASP version 6.6
     
    .Rick.
     
View Complete Thread