Opened 5 years ago

Last modified 15 months ago

#8640 confirmed Bug

htmlParser not recognizing empty comments

Reported by: Reinmar 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 5 years ago by Reinmar

comment:2 Changed 5 years ago by j.swiderski

  • Status changed from new to confirmed

comment:3 Changed 5 years ago by j.swiderski

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

Last edited 5 years ago by j.swiderski (previous) (diff)

comment:4 Changed 15 months ago by j.swiderski

Still reproducible in latest CKEditor 4.5.3

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