diff --git a/main.js b/main.js index 70272b8..2bb1bcb 100644 --- a/main.js +++ b/main.js @@ -245,15 +245,15 @@ class Handler { let title = parameters.title || undefined if (title) { - title = decodeURIComponent(title) + title = decodeURIComponent(title.replaceAll("+","%20")) } let subtitle = parameters.subtitle || undefined if (subtitle) { - subtitle = decodeURIComponent(subtitle) + subtitle = decodeURIComponent(subtitle.replaceAll("+","%20")) } let body = parameters.body || undefined if (body) { - body = decodeURIComponent(body) + body = decodeURIComponent(body.replaceAll("+","%20")) } if (!title && !subtitle && !body) { @@ -531,4 +531,4 @@ class Util { } } -const util = new Util() \ No newline at end of file +const util = new Util()