Opened 12 years ago

Last modified 9 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 12 years ago by Piotrek Koszuliński

comment:2 Changed 12 years ago by Jakub Ś

Status: newconfirmed

comment:3 Changed 12 years ago by Jakub Ś

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

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

comment:4 Changed 9 years ago by Jakub Ś

Still reproducible in latest CKEditor 4.5.3

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy