From 869d154d5b865d8f40da319a5075b4bc0c49d03c Mon Sep 17 00:00:00 2001 From: j Date: Fri, 25 Aug 2023 17:29:24 +0200 Subject: [PATCH] fix /m/ view for edits with _ in id --- static/mobile/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/mobile/js/main.js b/static/mobile/js/main.js index 6cd27ef0..56a00b17 100644 --- a/static/mobile/js/main.js +++ b/static/mobile/js/main.js @@ -38,7 +38,7 @@ function parseURL() { } else if (id.startsWith('edits/')) { var parts = id.split('/') parts.shift() - id = parts.shift().replace(/_/g, ' ') + id = parts.shift().replace(/_/g, ' ').replace(/%09/g, '_') type = "edit" if (parts.length >= 2) { args.sort = parts[1]