From 4f0a24cfed97e82d4091427aaf614f6fffa69405 Mon Sep 17 00:00:00 2001 From: djls45 Date: Mon, 16 Jul 2018 20:35:36 -0400 Subject: [PATCH] Preserve case of respondee's slug when responding to their post. --- public/src/client/topic/postTools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/topic/postTools.js b/public/src/client/topic/postTools.js index 8d460d7ae3..1ad284c144 100644 --- a/public/src/client/topic/postTools.js +++ b/public/src/client/topic/postTools.js @@ -338,7 +338,7 @@ define('forum/topic/postTools', [ } if (post.length) { - slug = post.attr('data-userslug'); + slug = utils.slugify(post.attr('data-username'), true); } if (post.length && post.attr('data-uid') !== '0') { slug = '@' + slug;