Ticket #8640 (confirmed Bug)

Opened 2 years ago

Last modified 2 years ago

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

comment:1 Changed 2 years ago by Reinmar

comment:2 Changed 2 years ago by j.swiderski

  • Status changed from new to confirmed

comment:3 Changed 2 years ago by j.swiderski

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

Last edited 2 years ago by j.swiderski (previous) (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy