This topic is locked

Greater Than - Less Than

5/26/2004 7:39:44 AM
ASPRunnerPro General questions
S
Scruffy author

In my database i have some html code <i>XXX</i> in each field and would like this outputting to my asp pages, so it's converted to italics etc when viewed in my browser, at present any of these symbols are converted to lt and gt in the output code so show as the correct symbol in the list page, how can i turn this off so gt and lt are not converted and are used as the html tags i intended them.
Cheers

Sergey Kornilov admin 5/27/2004

you can modify ..._list.asp file for this purpose.
Just replace the following section:

<%

if IsBinaryField(rsData.Fields("FieldName")) or Format("FieldName")=FORMAT_DATABASE_FILE then

Response.Write CreateImageControl(rsData, "FieldName", "")

else

Response.Write ProcessLargeText(GetData(rsData.Fields("FieldName"), ""))

end if

%>


with this one:

<%

Response.Write rsData.Fields("FieldName")

%>


Btw, for the same purpose I'm adding new View type named HTML in ASPRunner Pro.

S
Scruffy author 5/27/2004

Thanks, just the job. Look forward to the new version :-)