Ticket #7269: fix_webkit_anchor_links_in_footnotes.patch
File fix_webkit_anchor_links_in_footnotes.patch, 709 bytes (added by , 13 years ago) |
---|
-
default.js
920 920 'a' : function( element ) 921 921 { 922 922 var attrs = element.attributes; 923 if ( attrs && !attrs.href && attrs.name ) 923 if ( attrs && !attrs.href && attrs.name ) { 924 924 delete element.name; 925 } 926 else if (CKEDITOR.env.webkit && attrs.href && attrs.href.match(/file:\/\/\/[\S]+#/i)) { 927 attrs.href = attrs.href.replace(/file:\/\/\/[^#]+/i,''); 928 } 925 929 }, 926 930 'cke:listbullet' : function( element ) 927 931 {