Hi there,
I just realized that either sql JDBC driver or CF automatically translates
symbols like into HTML code of lt; prior to saving the data into a database
table. Here's a case, a form looks like this
form ...
textarea ...
{user input include
some text img src=userImage.gif ...
...}
I just realized that either sql JDBC driver or CF automatically translates
symbols like into HTML code of lt; prior to saving the data into a
database table.
I've never seen CF or JDBC do this. If your HTML is being escaped, I would
look for a stray htmleditformat function. Dump out the
I just realized that either sql JDBC driver or CF automatically translates
symbols like into HTML code of lt; prior to saving the data into a
database table.
I've never seen CF or JDBC do this. If your HTML is being escaped, I would
look for a stray htmleditformat function. Dump out the
I just realized that either sql JDBC driver or CF automatically
translates
symbols like into HTML code of lt; prior to saving the data
into a
database table.
I've never seen CF or JDBC do this. If your HTML is being
escaped, I would
look for a stray htmleditformat function. Dump
I'm wondering if there's some regExp to convert all HTML code back to its
orginial form.
I'm sure there could be if you wanted. You've only got four characters to
put back according to the docs:
lt;
gt;
amp;
quot;
If your goal is to not have the HTML escaped in the first place, I
I just realized that either sql JDBC driver or CF automatically
There is XMLUnformat it will probably do most of it: http://
cflib.org/index.cfm?event=page.udfbyidudfid=800
Paul
Thanks for the idea, Paul, but it may be overkill?
I'm wondering if there's some regExp to convert all HTML code back to its
orginial form.
I'm sure there could be if you wanted. You've only got four characters to
put back according to the docs:
lt;
gt;
amp;
quot;
If your goal is to not have the HTML escaped in the first place, I
7 matches
Mail list logo