Skip to content

Commit

Permalink
This fix should be made separately with #3593, wth proper tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Samsel committed Oct 23, 2019
1 parent 57d8679 commit b30f34b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/htmlparser/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@
var type = node.type;

return type == CKEDITOR.NODE_ELEMENT ? this.onElement( context, node ) :
type == CKEDITOR.NODE_TEXT ? new CKEDITOR.htmlParser.text( this.onText( context, node.value ) ) :
type == CKEDITOR.NODE_COMMENT ? new CKEDITOR.htmlParser.comment( this.onComment( context, node.value ) ) : null;
type == CKEDITOR.NODE_TEXT ? new CKEDITOR.htmlParser.text( this.onText( context, node.value, node ) ) :
type == CKEDITOR.NODE_COMMENT ? new CKEDITOR.htmlParser.comment( this.onComment( context, node.value, node ) ) : null;
},

onAttribute: function( context, element, name, value ) {
Expand Down

0 comments on commit b30f34b

Please sign in to comment.