[thelist] [ColdFusion] More RegEx Fun
.jeff
thelist at lists.evolt.org
Wed Feb 26 03:58:01 2003
kae,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Kae Verens
>
> >><input type="submit" value="Continue >>>">
>
> The above is not valid HTML, so shouldn't be put through
>the regexp. Replace the above with:
> <input type="submit" value="Continue >>>">
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
you know, i used to think so too. but, i couldn't find anything in the spec
that said i couldn't use angle brackets in the value attribute (or any
attribute of any tag for that matter). just to prove my point, check this
out:
http://members.evolt.org/jeff/code/input_value.cfm?sub=1
watch wrap or follow this tiny url (http://tinyurl.com/6glh):
<http://validator.w3.org/check?uri=http%3A%2F%2Fmembers.evolt.org%2Fjeff%2Fc
ode%2Finput_value.cfm%3Fsub%3D1&doctype=%28detect+automatically%29&charset=%
28detect+automatically%29&ss=1&outline=1&sp=1>
.jeff
http://evolt.org/
jeff at members.evolt.orghttp://members.evolt.org/jeff/