Changes between Initial Version and Version 1 of Ticket #7784, comment 4
- Timestamp:
- Dec 15, 2010, 11:16:59 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7784, comment 4
initial v1 3 3 {{{ 4 4 $.get( 'test.html', function(html){ 5 html = html.replace( /<(\/?)(html|head|body)([^>]*)>/ g, function(a,b,c,d){5 html = html.replace( /<(\/?)(html|head|body)([^>]*)>/ig, function(a,b,c,d){ 6 6 return '<' + b + 'div' + ( b ? '' : ' data-element="' + c + '"' ) + d + '>'; 7 7 });