Merge branch 'sabrecat/username-display' into sabrecat/usernames-master

This commit is contained in:
Sabe Jones
2018-10-19 17:44:52 -05:00
+1 -1
View File
@@ -292,7 +292,7 @@ export default {
this.$emit('show-member-modal', memberId);
},
atHighlight (text) {
return text.replace(new RegExp(/@\w+\b/g), match => {
return text.replace(new RegExp(/@[\w-]+/g), match => {
return `<span class="at-highlight">${match}</span>`;
});
},