Permalink
Browse files

allow blockquote

  • Loading branch information...
1 parent dc52767 commit 558983b91d4e303dd98242b72c1cc8b3bdd79339 @thejh committed Dec 30, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 functions.js
View
@@ -65,8 +65,9 @@ function unsanitizeHTML(text) {
, code: []
, pre: []
, img: ['src', 'alt']
+ , blockquote: []
}
- var tagsWithBody = ['a', 'p', 'em', 'ul', 'li', 'strong', 'code', 'pre']
+ var tagsWithBody = ['a', 'p', 'em', 'ul', 'li', 'strong', 'code', 'pre', 'blockquote']
tagfinder: for (var i=0; i<text.length; i++) {
if (text.slice(i, i+4) !== '&lt;') continue
i+=4

0 comments on commit 558983b

Please sign in to comment.