/*\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
\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
+ comment.parent = this.parent;\r
comment.writeHtml( writer, filter );\r
return;\r
}\r