Skip to content

Node.js based forum software built for the modern web

Preserve case of respondee's slug when responding to their post.

djls454f0a24cfed97
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;