Skip to content

Commit

Permalink
Merge pull request #738 from episodeyang/patch-1
Browse files Browse the repository at this point in the history
feat(angular-sanitizer): Update to add input to the safe elements list
  • Loading branch information
JoelParke committed Jul 8, 2015
2 parents b807423 + eb21323 commit 945cfa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textAngular-sanitize.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ var START_TAG_REGEXP =

// Safe Void Elements - HTML5
// http://dev.w3.org/html5/spec/Overview.html#void-elements
var voidElements = makeMap("area,br,col,hr,img,wbr");
var voidElements = makeMap("area,br,col,hr,img,wbr,input");

// Elements that you can, intentionally, leave open (and which close themselves)
// http://dev.w3.org/html5/spec/Overview.html#optional-tags
Expand Down

0 comments on commit 945cfa0

Please sign in to comment.