Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

allow blockquote

  • Loading branch information...
commit 558983b91d4e303dd98242b72c1cc8b3bdd79339 1 parent dc52767
@thejh authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  functions.js
View
3  functions.js
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.