Re: How not to parse HTML??
- From: "Fabrice Canel [MSFT]" <facan@xxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 10 Apr 2005 09:16:34 -0700
Hi,
As easy method: Replace all < by < and use <pre> tag if you want to keep
the formatting.
You have also the <PLAINTEXT> tag but he is officially deprecated
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/plaintext.asp
Thanks,
Fabrice
"Karl R. B. Jones" <karl-jones@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eTDi47dPFHA.1208@xxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> Could someone tell me how to display a string without risking any HTML
> that string contains being parsed.
> I want to show text that may contain HTML.
>
> Thanks
> Karl
>
.
- References:
- How not to parse HTML??
- From: Karl R. B. Jones
- How not to parse HTML??
- Prev by Date: How not to parse HTML??
- Next by Date: Re: How not to parse HTML??
- Previous by thread: How not to parse HTML??
- Next by thread: Re: How not to parse HTML??
- Index(es):
Relevant Pages
|
Loading