Re: How not to parse HTML??



Hi,



As easy method: Replace all < by &lt; 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
>


.



Relevant Pages

  • Re: Lots of Response.Writes of HTML - How do YOU do it?
    ... Dimension array ... // and creates a long html string accordingly to display the info. ...
    (microsoft.public.inetserver.asp.general)
  • Re: $_POST case sensitivity
    ... to me if you are iterating over the data received from a HTML ... However, off topic of course, you can use htmlentities to ... Once you're happy the string is valid, you use one or the other to display the data. ...
    (comp.lang.php)
  • Re: How not to parse HTML??
    ... I need to tell the parser to display it as it is without responding to any ... Where do you want to display a string ... The string may contain HTML, but you don't want it to be parsed? ... > Karl R. B. Jones wrote: ...
    (microsoft.public.inetsdk.html_authoring)
  • Re: How not to parse HTML??
    ... Some of this data may contain HTML tags. ... >> Hi Leo, ... Where do you want to display a string ...
    (microsoft.public.inetsdk.html_authoring)
  • Re: A Simple BMP Converter
    ... "RegQueryValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal ... Private Sub cmdSysInfo_Click ... Open Registry Key ... > color bar in the color display. ...
    (comp.lang.basic.visual.misc)

Loading