/*\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
'border-top: #999999 1px dotted;' +\r
'border-bottom: #999999 1px dotted;' +\r
'height: 5px;' +\r
+ 'page-break-after: always;' +\r
\r
'}' );\r
},\r
{\r
div : function( element )\r
{\r
- var style = element.attributes.style,\r
+ var attributes = element.attributes,\r
+ style = attributes && attributes.style,\r
child = style && element.children.length == 1 && element.children[ 0 ],\r
childStyle = child && ( child.name == 'span' ) && child.attributes.style;\r
\r