javascript - How to show escapeHTML4 string in unescaped format -


i have used escapehtml4 function in backend add escape characters block xss attack. have been assigned requirement should shown user.

requirement user should see user enters if might script attack.

there way can done? example user enters "'>">img src=x onerror=alert(1)>'
need show '>">img src=x onerror=alert(1)>'. think possible way in javascript. unable find function capable convert output of escapthtml output original one.


Comments

Popular posts from this blog

php - Embed BBCode within itself not working -

minify - Minimizing css files -

Connecting Spring Batch to Remote Cassandra Database -