|
Wenyue Yu
|
Friday 22 October 2004 2:08:03 am
Comment16607
Hi,
The reason is that Exponential treat <object> as block tag. We have changed this in Exponential 3.5. You can fix for previous version by editing file kernel/classes/datatypes/ezxmltext/handlers/input/ezsimplifiedxmlinput.php. In the end of this file, change the following three lines:
var $BlockTagArray = array( 'table', 'ul', 'ol', 'literal', 'custom', object' );
var $InLineTagArray = array( 'emphasize', 'strong', 'link', 'anchor', 'line', 'underline' );
var $LineTagArray = array( 'emphasize', 'strong', 'link', 'anchor', 'li', 'underline');
to
var $BlockTagArray = array( 'table', 'ul', 'ol', 'literal', 'custom' );
var $InLineTagArray = array( 'emphasize', 'strong', 'link', 'anchor', 'line', 'underline', 'object' );
var $LineTagArray = array( 'emphasize', 'strong', 'link', 'anchor', 'li', 'underline', 'object' );
The changes is moving object tag from block tag array to inline and line tag array. Hope it will work for you.
Regards, wenyue
|