Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi All,

This issue also produces in google search engine.
We can't search with the keyword starts with "<"('less than' symbol).

How can I resolved this error.

Now I've been learnt Angular JS.
So give suggestions in terms of Angular JS(HTML,JS).
Posted
Comments
Krunal Rohit 8-Oct-15 6:52am    
Check if first char is '<' then search with the rest of the chars.

-KR
Nathan Minier 8-Oct-15 7:56am    
I'm guessing that ng-sanitize is happily converting that to & l t ;

From a security (javascript injection) stance, I can't recommend allowing a search that doesn't strip those out.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900