This repository has been archived by the owner on Oct 28, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use createTextNode() to avoid possible XSS (#145)
* Use createTextNode() to avoid possible XSS For reference: https://stackoverflow.com/questions/476821/is-a-dom-text-node-guaranteed-to-not-be-interpreted-as-html For XSS Example: https://jsfiddle.net/32795mpy/ * delete whitespace for CI * update variable names "hiddenText" => "shavedText" "wrapper" => "elWithShavedText"
- Loading branch information