Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../jquery
File: jquery.js
/*!
[0] Fix | Delete
* jQuery JavaScript Library v1.12.4
[1] Fix | Delete
* http://jquery.com/
[2] Fix | Delete
*
[3] Fix | Delete
* Includes Sizzle.js
[4] Fix | Delete
* http://sizzlejs.com/
[5] Fix | Delete
*
[6] Fix | Delete
* Copyright jQuery Foundation and other contributors
[7] Fix | Delete
* Released under the MIT license
[8] Fix | Delete
* http://jquery.org/license
[9] Fix | Delete
*
[10] Fix | Delete
* Date: 2016-05-20T17:17Z
[11] Fix | Delete
*/
[12] Fix | Delete
[13] Fix | Delete
(function( global, factory ) {
[14] Fix | Delete
[15] Fix | Delete
if ( typeof module === "object" && typeof module.exports === "object" ) {
[16] Fix | Delete
// For CommonJS and CommonJS-like environments where a proper `window`
[17] Fix | Delete
// is present, execute the factory and get jQuery.
[18] Fix | Delete
// For environments that do not have a `window` with a `document`
[19] Fix | Delete
// (such as Node.js), expose a factory as module.exports.
[20] Fix | Delete
// This accentuates the need for the creation of a real `window`.
[21] Fix | Delete
// e.g. var jQuery = require("jquery")(window);
[22] Fix | Delete
// See ticket #14549 for more info.
[23] Fix | Delete
module.exports = global.document ?
[24] Fix | Delete
factory( global, true ) :
[25] Fix | Delete
function( w ) {
[26] Fix | Delete
if ( !w.document ) {
[27] Fix | Delete
throw new Error( "jQuery requires a window with a document" );
[28] Fix | Delete
}
[29] Fix | Delete
return factory( w );
[30] Fix | Delete
};
[31] Fix | Delete
} else {
[32] Fix | Delete
factory( global );
[33] Fix | Delete
}
[34] Fix | Delete
[35] Fix | Delete
// Pass this if window is not defined yet
[36] Fix | Delete
}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
[37] Fix | Delete
[38] Fix | Delete
// Support: Firefox 18+
[39] Fix | Delete
// Can't be in strict mode, several libs including ASP.NET trace
[40] Fix | Delete
// the stack via arguments.caller.callee and Firefox dies if
[41] Fix | Delete
// you try to trace through "use strict" call chains. (#13335)
[42] Fix | Delete
//"use strict";
[43] Fix | Delete
var deletedIds = [];
[44] Fix | Delete
[45] Fix | Delete
var document = window.document;
[46] Fix | Delete
[47] Fix | Delete
var slice = deletedIds.slice;
[48] Fix | Delete
[49] Fix | Delete
var concat = deletedIds.concat;
[50] Fix | Delete
[51] Fix | Delete
var push = deletedIds.push;
[52] Fix | Delete
[53] Fix | Delete
var indexOf = deletedIds.indexOf;
[54] Fix | Delete
[55] Fix | Delete
var class2type = {};
[56] Fix | Delete
[57] Fix | Delete
var toString = class2type.toString;
[58] Fix | Delete
[59] Fix | Delete
var hasOwn = class2type.hasOwnProperty;
[60] Fix | Delete
[61] Fix | Delete
var support = {};
[62] Fix | Delete
[63] Fix | Delete
[64] Fix | Delete
[65] Fix | Delete
var
[66] Fix | Delete
version = "1.12.4",
[67] Fix | Delete
[68] Fix | Delete
// Define a local copy of jQuery
[69] Fix | Delete
jQuery = function( selector, context ) {
[70] Fix | Delete
[71] Fix | Delete
// The jQuery object is actually just the init constructor 'enhanced'
[72] Fix | Delete
// Need init if jQuery is called (just allow error to be thrown if not included)
[73] Fix | Delete
return new jQuery.fn.init( selector, context );
[74] Fix | Delete
},
[75] Fix | Delete
[76] Fix | Delete
// Support: Android<4.1, IE<9
[77] Fix | Delete
// Make sure we trim BOM and NBSP
[78] Fix | Delete
rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
[79] Fix | Delete
[80] Fix | Delete
// Matches dashed string for camelizing
[81] Fix | Delete
rmsPrefix = /^-ms-/,
[82] Fix | Delete
rdashAlpha = /-([\da-z])/gi,
[83] Fix | Delete
[84] Fix | Delete
// Used by jQuery.camelCase as callback to replace()
[85] Fix | Delete
fcamelCase = function( all, letter ) {
[86] Fix | Delete
return letter.toUpperCase();
[87] Fix | Delete
};
[88] Fix | Delete
[89] Fix | Delete
jQuery.fn = jQuery.prototype = {
[90] Fix | Delete
[91] Fix | Delete
// The current version of jQuery being used
[92] Fix | Delete
jquery: version,
[93] Fix | Delete
[94] Fix | Delete
constructor: jQuery,
[95] Fix | Delete
[96] Fix | Delete
// Start with an empty selector
[97] Fix | Delete
selector: "",
[98] Fix | Delete
[99] Fix | Delete
// The default length of a jQuery object is 0
[100] Fix | Delete
length: 0,
[101] Fix | Delete
[102] Fix | Delete
toArray: function() {
[103] Fix | Delete
return slice.call( this );
[104] Fix | Delete
},
[105] Fix | Delete
[106] Fix | Delete
// Get the Nth element in the matched element set OR
[107] Fix | Delete
// Get the whole matched element set as a clean array
[108] Fix | Delete
get: function( num ) {
[109] Fix | Delete
return num != null ?
[110] Fix | Delete
[111] Fix | Delete
// Return just the one element from the set
[112] Fix | Delete
( num < 0 ? this[ num + this.length ] : this[ num ] ) :
[113] Fix | Delete
[114] Fix | Delete
// Return all the elements in a clean array
[115] Fix | Delete
slice.call( this );
[116] Fix | Delete
},
[117] Fix | Delete
[118] Fix | Delete
// Take an array of elements and push it onto the stack
[119] Fix | Delete
// (returning the new matched element set)
[120] Fix | Delete
pushStack: function( elems ) {
[121] Fix | Delete
[122] Fix | Delete
// Build a new jQuery matched element set
[123] Fix | Delete
var ret = jQuery.merge( this.constructor(), elems );
[124] Fix | Delete
[125] Fix | Delete
// Add the old object onto the stack (as a reference)
[126] Fix | Delete
ret.prevObject = this;
[127] Fix | Delete
ret.context = this.context;
[128] Fix | Delete
[129] Fix | Delete
// Return the newly-formed element set
[130] Fix | Delete
return ret;
[131] Fix | Delete
},
[132] Fix | Delete
[133] Fix | Delete
// Execute a callback for every element in the matched set.
[134] Fix | Delete
each: function( callback ) {
[135] Fix | Delete
return jQuery.each( this, callback );
[136] Fix | Delete
},
[137] Fix | Delete
[138] Fix | Delete
map: function( callback ) {
[139] Fix | Delete
return this.pushStack( jQuery.map( this, function( elem, i ) {
[140] Fix | Delete
return callback.call( elem, i, elem );
[141] Fix | Delete
} ) );
[142] Fix | Delete
},
[143] Fix | Delete
[144] Fix | Delete
slice: function() {
[145] Fix | Delete
return this.pushStack( slice.apply( this, arguments ) );
[146] Fix | Delete
},
[147] Fix | Delete
[148] Fix | Delete
first: function() {
[149] Fix | Delete
return this.eq( 0 );
[150] Fix | Delete
},
[151] Fix | Delete
[152] Fix | Delete
last: function() {
[153] Fix | Delete
return this.eq( -1 );
[154] Fix | Delete
},
[155] Fix | Delete
[156] Fix | Delete
eq: function( i ) {
[157] Fix | Delete
var len = this.length,
[158] Fix | Delete
j = +i + ( i < 0 ? len : 0 );
[159] Fix | Delete
return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );
[160] Fix | Delete
},
[161] Fix | Delete
[162] Fix | Delete
end: function() {
[163] Fix | Delete
return this.prevObject || this.constructor();
[164] Fix | Delete
},
[165] Fix | Delete
[166] Fix | Delete
// For internal use only.
[167] Fix | Delete
// Behaves like an Array's method, not like a jQuery method.
[168] Fix | Delete
push: push,
[169] Fix | Delete
sort: deletedIds.sort,
[170] Fix | Delete
splice: deletedIds.splice
[171] Fix | Delete
};
[172] Fix | Delete
[173] Fix | Delete
jQuery.extend = jQuery.fn.extend = function() {
[174] Fix | Delete
var src, copyIsArray, copy, name, options, clone,
[175] Fix | Delete
target = arguments[ 0 ] || {},
[176] Fix | Delete
i = 1,
[177] Fix | Delete
length = arguments.length,
[178] Fix | Delete
deep = false;
[179] Fix | Delete
[180] Fix | Delete
// Handle a deep copy situation
[181] Fix | Delete
if ( typeof target === "boolean" ) {
[182] Fix | Delete
deep = target;
[183] Fix | Delete
[184] Fix | Delete
// skip the boolean and the target
[185] Fix | Delete
target = arguments[ i ] || {};
[186] Fix | Delete
i++;
[187] Fix | Delete
}
[188] Fix | Delete
[189] Fix | Delete
// Handle case when target is a string or something (possible in deep copy)
[190] Fix | Delete
if ( typeof target !== "object" && !jQuery.isFunction( target ) ) {
[191] Fix | Delete
target = {};
[192] Fix | Delete
}
[193] Fix | Delete
[194] Fix | Delete
// extend jQuery itself if only one argument is passed
[195] Fix | Delete
if ( i === length ) {
[196] Fix | Delete
target = this;
[197] Fix | Delete
i--;
[198] Fix | Delete
}
[199] Fix | Delete
[200] Fix | Delete
for ( ; i < length; i++ ) {
[201] Fix | Delete
[202] Fix | Delete
// Only deal with non-null/undefined values
[203] Fix | Delete
if ( ( options = arguments[ i ] ) != null ) {
[204] Fix | Delete
[205] Fix | Delete
// Extend the base object
[206] Fix | Delete
for ( name in options ) {
[207] Fix | Delete
src = target[ name ];
[208] Fix | Delete
copy = options[ name ];
[209] Fix | Delete
[210] Fix | Delete
// Prevent never-ending loop
[211] Fix | Delete
if ( target === copy ) {
[212] Fix | Delete
continue;
[213] Fix | Delete
}
[214] Fix | Delete
[215] Fix | Delete
// Recurse if we're merging plain objects or arrays
[216] Fix | Delete
if ( deep && copy && ( jQuery.isPlainObject( copy ) ||
[217] Fix | Delete
( copyIsArray = jQuery.isArray( copy ) ) ) ) {
[218] Fix | Delete
[219] Fix | Delete
if ( copyIsArray ) {
[220] Fix | Delete
copyIsArray = false;
[221] Fix | Delete
clone = src && jQuery.isArray( src ) ? src : [];
[222] Fix | Delete
[223] Fix | Delete
} else {
[224] Fix | Delete
clone = src && jQuery.isPlainObject( src ) ? src : {};
[225] Fix | Delete
}
[226] Fix | Delete
[227] Fix | Delete
// Never move original objects, clone them
[228] Fix | Delete
target[ name ] = jQuery.extend( deep, clone, copy );
[229] Fix | Delete
[230] Fix | Delete
// Don't bring in undefined values
[231] Fix | Delete
} else if ( copy !== undefined ) {
[232] Fix | Delete
target[ name ] = copy;
[233] Fix | Delete
}
[234] Fix | Delete
}
[235] Fix | Delete
}
[236] Fix | Delete
}
[237] Fix | Delete
[238] Fix | Delete
// Return the modified object
[239] Fix | Delete
return target;
[240] Fix | Delete
};
[241] Fix | Delete
[242] Fix | Delete
jQuery.extend( {
[243] Fix | Delete
[244] Fix | Delete
// Unique for each copy of jQuery on the page
[245] Fix | Delete
expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ),
[246] Fix | Delete
[247] Fix | Delete
// Assume jQuery is ready without the ready module
[248] Fix | Delete
isReady: true,
[249] Fix | Delete
[250] Fix | Delete
error: function( msg ) {
[251] Fix | Delete
throw new Error( msg );
[252] Fix | Delete
},
[253] Fix | Delete
[254] Fix | Delete
noop: function() {},
[255] Fix | Delete
[256] Fix | Delete
// See test/unit/core.js for details concerning isFunction.
[257] Fix | Delete
// Since version 1.3, DOM methods and functions like alert
[258] Fix | Delete
// aren't supported. They return false on IE (#2968).
[259] Fix | Delete
isFunction: function( obj ) {
[260] Fix | Delete
return jQuery.type( obj ) === "function";
[261] Fix | Delete
},
[262] Fix | Delete
[263] Fix | Delete
isArray: Array.isArray || function( obj ) {
[264] Fix | Delete
return jQuery.type( obj ) === "array";
[265] Fix | Delete
},
[266] Fix | Delete
[267] Fix | Delete
isWindow: function( obj ) {
[268] Fix | Delete
/* jshint eqeqeq: false */
[269] Fix | Delete
return obj != null && obj == obj.window;
[270] Fix | Delete
},
[271] Fix | Delete
[272] Fix | Delete
isNumeric: function( obj ) {
[273] Fix | Delete
[274] Fix | Delete
// parseFloat NaNs numeric-cast false positives (null|true|false|"")
[275] Fix | Delete
// ...but misinterprets leading-number strings, particularly hex literals ("0x...")
[276] Fix | Delete
// subtraction forces infinities to NaN
[277] Fix | Delete
// adding 1 corrects loss of precision from parseFloat (#15100)
[278] Fix | Delete
var realStringObj = obj && obj.toString();
[279] Fix | Delete
return !jQuery.isArray( obj ) && ( realStringObj - parseFloat( realStringObj ) + 1 ) >= 0;
[280] Fix | Delete
},
[281] Fix | Delete
[282] Fix | Delete
isEmptyObject: function( obj ) {
[283] Fix | Delete
var name;
[284] Fix | Delete
for ( name in obj ) {
[285] Fix | Delete
return false;
[286] Fix | Delete
}
[287] Fix | Delete
return true;
[288] Fix | Delete
},
[289] Fix | Delete
[290] Fix | Delete
isPlainObject: function( obj ) {
[291] Fix | Delete
var key;
[292] Fix | Delete
[293] Fix | Delete
// Must be an Object.
[294] Fix | Delete
// Because of IE, we also have to check the presence of the constructor property.
[295] Fix | Delete
// Make sure that DOM nodes and window objects don't pass through, as well
[296] Fix | Delete
if ( !obj || jQuery.type( obj ) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {
[297] Fix | Delete
return false;
[298] Fix | Delete
}
[299] Fix | Delete
[300] Fix | Delete
try {
[301] Fix | Delete
[302] Fix | Delete
// Not own constructor property must be Object
[303] Fix | Delete
if ( obj.constructor &&
[304] Fix | Delete
!hasOwn.call( obj, "constructor" ) &&
[305] Fix | Delete
!hasOwn.call( obj.constructor.prototype, "isPrototypeOf" ) ) {
[306] Fix | Delete
return false;
[307] Fix | Delete
}
[308] Fix | Delete
} catch ( e ) {
[309] Fix | Delete
[310] Fix | Delete
// IE8,9 Will throw exceptions on certain host objects #9897
[311] Fix | Delete
return false;
[312] Fix | Delete
}
[313] Fix | Delete
[314] Fix | Delete
// Support: IE<9
[315] Fix | Delete
// Handle iteration over inherited properties before own properties.
[316] Fix | Delete
if ( !support.ownFirst ) {
[317] Fix | Delete
for ( key in obj ) {
[318] Fix | Delete
return hasOwn.call( obj, key );
[319] Fix | Delete
}
[320] Fix | Delete
}
[321] Fix | Delete
[322] Fix | Delete
// Own properties are enumerated firstly, so to speed up,
[323] Fix | Delete
// if last one is own, then all properties are own.
[324] Fix | Delete
for ( key in obj ) {}
[325] Fix | Delete
[326] Fix | Delete
return key === undefined || hasOwn.call( obj, key );
[327] Fix | Delete
},
[328] Fix | Delete
[329] Fix | Delete
type: function( obj ) {
[330] Fix | Delete
if ( obj == null ) {
[331] Fix | Delete
return obj + "";
[332] Fix | Delete
}
[333] Fix | Delete
return typeof obj === "object" || typeof obj === "function" ?
[334] Fix | Delete
class2type[ toString.call( obj ) ] || "object" :
[335] Fix | Delete
typeof obj;
[336] Fix | Delete
},
[337] Fix | Delete
[338] Fix | Delete
// Workarounds based on findings by Jim Driscoll
[339] Fix | Delete
// http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context
[340] Fix | Delete
globalEval: function( data ) {
[341] Fix | Delete
if ( data && jQuery.trim( data ) ) {
[342] Fix | Delete
[343] Fix | Delete
// We use execScript on Internet Explorer
[344] Fix | Delete
// We use an anonymous function so that context is window
[345] Fix | Delete
// rather than jQuery in Firefox
[346] Fix | Delete
( window.execScript || function( data ) {
[347] Fix | Delete
window[ "eval" ].call( window, data ); // jscs:ignore requireDotNotation
[348] Fix | Delete
} )( data );
[349] Fix | Delete
}
[350] Fix | Delete
},
[351] Fix | Delete
[352] Fix | Delete
// Convert dashed to camelCase; used by the css and data modules
[353] Fix | Delete
// Microsoft forgot to hump their vendor prefix (#9572)
[354] Fix | Delete
camelCase: function( string ) {
[355] Fix | Delete
return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
[356] Fix | Delete
},
[357] Fix | Delete
[358] Fix | Delete
nodeName: function( elem, name ) {
[359] Fix | Delete
return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
[360] Fix | Delete
},
[361] Fix | Delete
[362] Fix | Delete
each: function( obj, callback ) {
[363] Fix | Delete
var length, i = 0;
[364] Fix | Delete
[365] Fix | Delete
if ( isArrayLike( obj ) ) {
[366] Fix | Delete
length = obj.length;
[367] Fix | Delete
for ( ; i < length; i++ ) {
[368] Fix | Delete
if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
[369] Fix | Delete
break;
[370] Fix | Delete
}
[371] Fix | Delete
}
[372] Fix | Delete
} else {
[373] Fix | Delete
for ( i in obj ) {
[374] Fix | Delete
if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
[375] Fix | Delete
break;
[376] Fix | Delete
}
[377] Fix | Delete
}
[378] Fix | Delete
}
[379] Fix | Delete
[380] Fix | Delete
return obj;
[381] Fix | Delete
},
[382] Fix | Delete
[383] Fix | Delete
// Support: Android<4.1, IE<9
[384] Fix | Delete
trim: function( text ) {
[385] Fix | Delete
return text == null ?
[386] Fix | Delete
"" :
[387] Fix | Delete
( text + "" ).replace( rtrim, "" );
[388] Fix | Delete
},
[389] Fix | Delete
[390] Fix | Delete
// results is for internal usage only
[391] Fix | Delete
makeArray: function( arr, results ) {
[392] Fix | Delete
var ret = results || [];
[393] Fix | Delete
[394] Fix | Delete
if ( arr != null ) {
[395] Fix | Delete
if ( isArrayLike( Object( arr ) ) ) {
[396] Fix | Delete
jQuery.merge( ret,
[397] Fix | Delete
typeof arr === "string" ?
[398] Fix | Delete
[ arr ] : arr
[399] Fix | Delete
);
[400] Fix | Delete
} else {
[401] Fix | Delete
push.call( ret, arr );
[402] Fix | Delete
}
[403] Fix | Delete
}
[404] Fix | Delete
[405] Fix | Delete
return ret;
[406] Fix | Delete
},
[407] Fix | Delete
[408] Fix | Delete
inArray: function( elem, arr, i ) {
[409] Fix | Delete
var len;
[410] Fix | Delete
[411] Fix | Delete
if ( arr ) {
[412] Fix | Delete
if ( indexOf ) {
[413] Fix | Delete
return indexOf.call( arr, elem, i );
[414] Fix | Delete
}
[415] Fix | Delete
[416] Fix | Delete
len = arr.length;
[417] Fix | Delete
i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0;
[418] Fix | Delete
[419] Fix | Delete
for ( ; i < len; i++ ) {
[420] Fix | Delete
[421] Fix | Delete
// Skip accessing in sparse arrays
[422] Fix | Delete
if ( i in arr && arr[ i ] === elem ) {
[423] Fix | Delete
return i;
[424] Fix | Delete
}
[425] Fix | Delete
}
[426] Fix | Delete
}
[427] Fix | Delete
[428] Fix | Delete
return -1;
[429] Fix | Delete
},
[430] Fix | Delete
[431] Fix | Delete
merge: function( first, second ) {
[432] Fix | Delete
var len = +second.length,
[433] Fix | Delete
j = 0,
[434] Fix | Delete
i = first.length;
[435] Fix | Delete
[436] Fix | Delete
while ( j < len ) {
[437] Fix | Delete
first[ i++ ] = second[ j++ ];
[438] Fix | Delete
}
[439] Fix | Delete
[440] Fix | Delete
// Support: IE<9
[441] Fix | Delete
// Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists)
[442] Fix | Delete
if ( len !== len ) {
[443] Fix | Delete
while ( second[ j ] !== undefined ) {
[444] Fix | Delete
first[ i++ ] = second[ j++ ];
[445] Fix | Delete
}
[446] Fix | Delete
}
[447] Fix | Delete
[448] Fix | Delete
first.length = i;
[449] Fix | Delete
[450] Fix | Delete
return first;
[451] Fix | Delete
},
[452] Fix | Delete
[453] Fix | Delete
grep: function( elems, callback, invert ) {
[454] Fix | Delete
var callbackInverse,
[455] Fix | Delete
matches = [],
[456] Fix | Delete
i = 0,
[457] Fix | Delete
length = elems.length,
[458] Fix | Delete
callbackExpect = !invert;
[459] Fix | Delete
[460] Fix | Delete
// Go through the array, only saving the items
[461] Fix | Delete
// that pass the validator function
[462] Fix | Delete
for ( ; i < length; i++ ) {
[463] Fix | Delete
callbackInverse = !callback( elems[ i ], i );
[464] Fix | Delete
if ( callbackInverse !== callbackExpect ) {
[465] Fix | Delete
matches.push( elems[ i ] );
[466] Fix | Delete
}
[467] Fix | Delete
}
[468] Fix | Delete
[469] Fix | Delete
return matches;
[470] Fix | Delete
},
[471] Fix | Delete
[472] Fix | Delete
// arg is for internal usage only
[473] Fix | Delete
map: function( elems, callback, arg ) {
[474] Fix | Delete
var length, value,
[475] Fix | Delete
i = 0,
[476] Fix | Delete
ret = [];
[477] Fix | Delete
[478] Fix | Delete
// Go through the array, translating each of the items to their new values
[479] Fix | Delete
if ( isArrayLike( elems ) ) {
[480] Fix | Delete
length = elems.length;
[481] Fix | Delete
for ( ; i < length; i++ ) {
[482] Fix | Delete
value = callback( elems[ i ], i, arg );
[483] Fix | Delete
[484] Fix | Delete
if ( value != null ) {
[485] Fix | Delete
ret.push( value );
[486] Fix | Delete
}
[487] Fix | Delete
}
[488] Fix | Delete
[489] Fix | Delete
// Go through every key on the object,
[490] Fix | Delete
} else {
[491] Fix | Delete
for ( i in elems ) {
[492] Fix | Delete
value = callback( elems[ i ], i, arg );
[493] Fix | Delete
[494] Fix | Delete
if ( value != null ) {
[495] Fix | Delete
ret.push( value );
[496] Fix | Delete
}
[497] Fix | Delete
}
[498] Fix | Delete
}
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function