Skip to content

Commit cc067ff

Browse files
committed
🐛 Forgot to encode %
1 parent 0a581e1 commit cc067ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

title.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ const noTailChars = ':;",';
4848
*/
4949
export const toReadableTitleURI = (title: string): string => {
5050
return title.replaceAll(" ", "_")
51-
.replace(/[/?#\{}^|<>]/g, (char) => encodeURIComponent(char));
51+
.replace(/[/?#\{}^|<>%]/g, (char) => encodeURIComponent(char));
5252
};

0 commit comments

Comments
 (0)