Browse Source

fixed `'`

Markus-Rost 6 years ago
parent
commit
c8e89eb319
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.js

+ 1 - 1
main.js

@@ -931,7 +931,7 @@ function emoji(args) {
 }
 
 String.prototype.toTitle = function() {
-	return this.replace( / /g, '_' ).replace( /\'/g, '%27' ).replace( /\%/g, '%25' ).replace( /\?/g, '%3F' );
+	return this.replace( / /g, '_' ).replace( /\%/g, '%25' ).replace( /\'/g, '%27' ).replace( /\?/g, '%3F' );
 };
 
 String.prototype.toSection = function() {