I have some text coming in a text box from the user and I would like to
"Html Escape" it.
That is: if the user wrote: "<name=xx/>" I would like to transform it into
"<name=xx/>"
I know there is a function for it, I just can't remember which... going to
look in the doc, but though I could ask here first!
I have taken a vow of poverty. If you want to really piss me off, send me
money.found it!
Page.Server.HtmlEncode(tTitle.Text)
"Lloyd Dupont" <net.galador@.ld> wrote in message
news:eXaSpkjFGHA.3176@.TK2MSFTNGP12.phx.gbl...
>I have some text coming in a text box from the user and I would like to
>"Html Escape" it.
> That is: if the user wrote: "<name=xx/>" I would like to transform it into
> "<name=xx/>"
> I know there is a function for it, I just can't remember which... going to
> look in the doc, but though I could ask here first!
> --
> I have taken a vow of poverty. If you want to really piss me off, send me
> money.
>
No comments:
Post a Comment