Opened 14 years ago

Last modified 12 years ago

#4796 closed Bug

Flash objects are output incorrectly — at Version 1

Reported by: Garry Yao Owned by:
Priority: Normal Milestone:
Component: Core : Output Data Version: SVN (CKEditor) - OLD
Keywords: Cc:

Description (last modified by Garry Yao)

Reproducing Procedures

  1. Open 'replacebyclass' sample page and load the document with the following source:
    <p>
    <object>
    <param name="quality" value="high" />
    <param name="movie" value="http://f.friendster-tweakers.com/rsc/swf/clock/fsdbp.swf" />
    <embed quality="high" src="http://f.friendster-tweakers.com/rsc/swf/clock/fsdbp.swf" type="application/x-shockwave-flash">
    </embed>
    </object></p>
    
  2. Switch to 'Source' mode.
  • Actual Result:
    <p>
    	<object> <param name="quality" value="high" /> <param name="movie" value="http://f.friendster-tweakers.com/rsc/swf/clock/fsdbp.swf" /> <embed quality="high" src="http://f.friendster-tweakers.com/rsc/swf/clock/fsdbp.swf" type="application/x-shockwave-flash"></embed> </object></p>
    
  • Expected Result: Spaces between those elements are trimmed:
     * Actual Result:
    {{{
    <p>
    	<object> <param name="quality" value="high" /><param name="movie" value="http://f.friendster-tweakers.com/rsc/swf/clock/fsdbp.swf" /><embed quality="high" src="http://f.friendster-tweakers.com/rsc/swf/clock/fsdbp.swf" type="application/x-shockwave-flash"></embed></object></p>
    }}}
    
    

Change History (1)

comment:1 Changed 14 years ago by Garry Yao

Description: modified (diff)
Milestone: CKEditor 3.1CKEditor 3.3

Adding expected result.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy