Skip to content

LinYunWen/escape-HTML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

escape-HTML

to escape HTML contents and tags attribute values for "&" , """ , "'" , ">" , "<"

escapeHTML

escaping the contents between HTML tags

escapeAttr

escaping the tags attribute values

checkType

appending the "&","&quote;","#39;","&lt","&gt"

replaceChar

avoiding the "&","&quote;","#39;","&lt","&gt" from escaping twice

doEscape

replace character "&" , """ , "'" , "<" , ">" with "&","&quote;","#39;","&lt","&gt"

About

to escape HTML contents and tags attribute values for "&" , """ , "'" , ">" , "<"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published