Duplicate "src" attribute in image input type element
Create image button and you'll see:
<input alt="" src="http://a.cksource.com/a/1/gfx/logo_ck_editor.png" src="http://a.cksource.com/a/1/gfx/logo_ck_editor.png" type="image" />
(the "src" attribute is repeated).
Change History (8)
| Owner: |
set to Artur Formella
|
| Status: |
new →
assigned
|
| Keywords: |
Confirmed Review? added
|
| Keywords: |
Review- added; Review? removed
|
| Keywords: |
Review? added; Review- removed
|
| Keywords: |
Review+ added; Review? removed
|
| Resolution: |
→ fixed
|
| Status: |
assigned →
closed
|
The 'name' and 'src' protecting logic is currently causing a lot of code DUP, adding a new rule for this purpose is preferred, e.g.
var defaultHtmlAttirubteRules = { elements : { $ : function( element ) { var attribs = element.attribs; if ( attribs && attribs._cke_saved_name ) delete attribs.name; if ( attribs && attribs._cke_saved_href ) delete attribs.href; } } };