Changeset 994
- Timestamp:
- 04/15/08 18:11:12 (5 years ago)
- Files:
-
- 1 modified
-
trunk/XinhaCore.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/XinhaCore.js
r992 r994 5026 5026 { 5027 5027 baseRe = new RegExp( "((href|src|background|action)=\")(" + Xinha.escapeStringForRegExp(this.config.baseHref.replace(/([^\/]\/)(?=.+\.)[^\/]*$/, "$1")) + ")", 'g' ); 5028 html = html.replace(baseRe, '$1'); 5028 5029 } 5029 5030 baseRe = new RegExp( "((href|src|background|action)=\")(" + Xinha.escapeStringForRegExp(document.location.href.replace( /^(https?:\/\/[^\/]*)(.*)/, '$1' )) + ")", 'g' ); 5030 5031 5031 html = html.replace(baseRe, '$1'); 5032 5032 }
