User:Colouratura/wikia.js

( function ( $ ) {   if ( !window.colour ) window.colour = {};    /**     * Normalize     *      * Replaces common rich-text representations of quotes     * with their standard ASCII versions.     */    window.colour.normalize = function  {        $( '#wpTextbox1' ).val( $( '#wpTextbox1' ).val .replace( /(“|”)/g, '"' )               .replace( /’/g, '\'' )        );     }; }( jQuery ) )