jazzIIIlove
asked on
html escape tricky case, any you have?
Hi there;
I am trying to test html escape in my code. Is there any you can provide me? Tricky ones would be appreciated.
No SQL injection code is necessary.
Regards.
I am trying to test html escape in my code. Is there any you can provide me? Tricky ones would be appreciated.
No SQL injection code is necessary.
Regards.
take a look here:
http://text-symbols.com/html/
if you can convert all of these you should be good to go
http://text-symbols.com/html/
if you can convert all of these you should be good to go
ASKER
Actually, what I want is to test my code against html escape. Any ways?
Regards.
Regards.
i'm not sure I understand then...
Do you want to take a string of non standard characters and escape them? if so, just copy and paste some from the link I sent
Do you want to take a string of non standard characters and escape them? if so, just copy and paste some from the link I sent
ASKER
I want an example of a html line(s) having those but in a tricky way that cause to fail in my code.
Regards.
Regards.
thats what I thought. since thats the case, just create some dummy html, add some of those characters in a div or span or p tag, and see if it works properly
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@jazzIIIlove,
Is there some point to this; or you just got bored and thought you would post a time waster?
Instead of going in circles with "tricky" why don't you just tell us what you are trying to do or give us some kind of requirement.
Cd&
Is there some point to this; or you just got bored and thought you would post a time waster?
Instead of going in circles with "tricky" why don't you just tell us what you are trying to do or give us some kind of requirement.
Cd&
ASKER
Just to find out whether my htmlescape works fine or not.
regards.
regards.
That's a pretty vague request. And since you're not really answering my questions I previously posted (such as whether or not you copied and pasted the html I suggested, I don't think you'll get much help here without knowing the context in which you're looking to test it.
http://www.w3schools.com/tags/ref_urlencode.asp
If you are looking for the HTML entities codes they are here:
http://www.theukwebdesigncompany.com/articles/entity-escape-characters.php
If itis something else you are looking for, then you will need to provide more detail.
Cd&