Changeset 940
- Timestamp:
- 01/22/08 22:34:07 (5 years ago)
- Files:
-
- 1 modified
-
trunk/XinhaCore.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/XinhaCore.js
r937 r940 705 705 * your absolute links, your external string might be some special code, say "{server_url}" 706 706 * an you say that the internal represenattion of that should be http://your.server/<br /> 707 * Example: <code>{ 'external_string' : 'internal_string'}</code><br />707 * Example: <code>{ 'html_string' : 'wysiwyg_string' }</code><br /> 708 708 * Default: <code>{}</code> (empty) 709 709 * @type Object 710 710 */ 711 this.specialReplacements = {}; // { 'external_string' : 'internal_string' }711 this.specialReplacements = {}; //{ 'html_string' : 'wysiwyg_string' } 712 712 713 713 /** Set to true if you want Word code to be cleaned upon Paste. This only works if … … 5028 5028 if ( typeof this.config.baseHref != 'undefined' && this.config.baseHref !== null ) 5029 5029 { 5030 baseRe = new RegExp( "((href|src|background)=\")(" + Xinha.escapeStringForRegExp(this.config.baseHref.replace(/ \/[^\/]*$/, '/')) + ")", 'g' );5030 baseRe = new RegExp( "((href|src|background)=\")(" + Xinha.escapeStringForRegExp(this.config.baseHref.replace(/([^\/]\/)(?=.+\.)[^\/]*$/, "$1")) + ")", 'g' ); 5031 5031 } 5032 5032 else
