Ticket #3884 (closed Bug: fixed)

Opened 5 years ago

Last modified 5 years ago

Empty href attribute values are created twice

Reported by: damo Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.0
Component: General Version:
Keywords: IBM Confirmed Review+ Cc:

Description

To reproduce:

  1. Open nightly sample
  2. Go to source and add a link with one empty href attribute
    <a href="" name="myLink">The link</a> 
    

Result:
When going back to RT mode and then back to source, a second href attribute is added. This breaks the XML rule of one attribute name per element.

<a href="" href="" name="myLink">The link</a> 

Attachments

3884.patch (2.5 KB) - added by garry.yao 5 years ago.

Change History

comment:1 Changed 5 years ago by garry.yao

  • Status changed from new to assigned
  • Owner set to garry.yao
  • Keywords Confirmed added

Changed 5 years ago by garry.yao

comment:2 Changed 5 years ago by garry.yao

  • Keywords Review? added

comment:3 Changed 5 years ago by arczi

  • Keywords Review+ added; Review? removed

comment:4 Changed 5 years ago by garry.yao

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed with [3819].

comment:5 Changed 5 years ago by garry.yao

Wrong changeset above, should be fixed with [3818].

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy