Opened 6 years ago

Last modified 2 years ago

#8640 confirmed Bug

htmlParser not recognizing empty comments

Reported by: Piotrek Koszuliński Owned by:
Priority: Normal Milestone:
Component: Core : Parser Version:
Keywords: Cc:

Description

var counter = 0,
	parser = new CKEDITOR.htmlParser();

parser.onComment = function( comment )
	{
		counter += 1;
	};

parser.parse( '<!---->' );
assert.areSame( 1, counter ); // error (actual: 0)

Change History (4)

comment:1 Changed 6 years ago by Piotrek Koszuliński

comment:2 Changed 6 years ago by Jakub Ś

Status: newconfirmed

comment:3 Changed 6 years ago by Jakub Ś

Other related to problems with HTML comments: #8732, #8569, #8216, #8129, #6709, #8812

Last edited 5 years ago by Jakub Ś (previous) (diff)

comment:4 Changed 2 years ago by Jakub Ś

Still reproducible in latest CKEditor 4.5.3

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy