mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added support for blockquote in comments
refs https://github.com/TryGhost/Team/issues/1664
This commit is contained in:
parent
7a4ae08b44
commit
a6842e8a20
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ const Comment = ghostBookshelf.Model.extend({
|
|||
const sanitizeHtml = require('sanitize-html');
|
||||
|
||||
this.set('html', sanitizeHtml(this.get('html'), {
|
||||
allowedTags: ['p', 'br', 'a'],
|
||||
allowedTags: ['p', 'br', 'a', 'blockquote'],
|
||||
allowedAttributes: {
|
||||
a: ['href', 'target', 'rel']
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue