Changeset 669
- Timestamp:
- 01/16/07 09:27:03 (6 years ago)
- Files:
-
- 1 modified
-
trunk/XinhaCore.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/XinhaCore.js
r667 r669 2279 2279 html = html.replace(Xinha.RE_doctype, ""); 2280 2280 } 2281 2282 //Fix Firefox problem with link elements not in right place (just before head) 2283 var match = html.match(/<link\s+[\s\S]*?["']\s*\/?>/gi); 2284 html = html.replace(/<link\s+[\s\S]*?["']\s*\/?>\s*/gi, ''); 2285 match ? html = html.replace(/<\/head>/i, match.join('\n') + "\n</head>") : null; 2281 2286 } 2282 2287 doc.write(html);
