Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.5.3
[ckeditor.git]
/
_source
/
core
/
htmlparser
/
comment.js
diff --git
a/_source/core/htmlparser/comment.js
b/_source/core/htmlparser/comment.js
index
c2f4f25
..
a55b489
100644
(file)
--- a/
_source/core/htmlparser/comment.js
+++ b/
_source/core/htmlparser/comment.js
@@
-1,5
+1,5
@@
/*
\r
/*
\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
\r
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
*/
\r
\r
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
*/
\r
\r
@@
-44,11
+44,12
@@
CKEDITOR.htmlParser.comment.prototype =
\r
if ( filter )
\r
{
\r
\r
if ( filter )
\r
{
\r
- if ( !( comment = filter.onComment( comment ) ) )
\r
+ if ( !( comment = filter.onComment( comment, this ) ) )
\r
return;
\r
\r
if ( typeof comment != 'string' )
\r
{
\r
return;
\r
\r
if ( typeof comment != 'string' )
\r
{
\r
+ comment.parent = this.parent;
\r
comment.writeHtml( writer, filter );
\r
return;
\r
}
\r
comment.writeHtml( writer, filter );
\r
return;
\r
}
\r