mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
recent replies needs stripTags true
changed [self] to _
This commit is contained in:
@@ -269,8 +269,8 @@ var socket,
|
||||
selector = selector || $('a');
|
||||
selector.each(function() {
|
||||
var href = $(this).attr('href');
|
||||
if (href && app.userslug) {
|
||||
$(this).attr('href', href.replace(/\[self\]/g, app.userslug));
|
||||
if (href && app.userslug && href.indexOf('_') !== -1) {
|
||||
$(this).attr('href', href.replace(/_/g, app.userslug));
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user