Fix profile link uri encode problem

This commit is contained in:
i.j 2023-10-20 21:43:56 +00:00
parent b5d22a4de4
commit 3e49d23798

View File

@ -155,7 +155,7 @@ MastodonApi.prototype.buildTimeline = async function () {
if (this.LINK_SEE_MORE) { if (this.LINK_SEE_MORE) {
let linkSeeMorePath = ""; let linkSeeMorePath = "";
if (this.TIMELINE_TYPE === "profile") { if (this.TIMELINE_TYPE === "profile") {
linkSeeMorePath = encodeURIComponent(this.PROFILE_NAME); linkSeeMorePath = this.PROFILE_NAME;
} else if (this.TIMELINE_TYPE === "hashtag") { } else if (this.TIMELINE_TYPE === "hashtag") {
linkSeeMorePath = "tags/" + encodeURIComponent(this.HASHTAG_NAME); linkSeeMorePath = "tags/" + encodeURIComponent(this.HASHTAG_NAME);
} else if (this.TIMELINE_TYPE === "local") { } else if (this.TIMELINE_TYPE === "local") {