浏览代码

fixed `'`

Markus-Rost 6 年之前
父节点
当前提交
c8e89eb319
共有 1 个文件被更改,包括 1 次插入1 次删除
  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() {