Ticket #5483: 5483.patch
File 5483.patch, 691 bytes (added by , 14 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
643 643 // Check if the <head> tag is available. 644 644 if ( !(/<head[\s|>]/).test( data ) ) 645 645 data = data.replace( /<html[^>]*>/, '$&<head><title></title></head>' ) ; 646 else if ( !(/<title[\s|>]/).test( data ) ) 647 data = data.replace( /<head[^>]*>/, '$&<title></title>' ) ; 646 648 647 649 // The base must be the first tag in the HEAD, e.g. to get relative 648 650 // links on styles.