mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
DEV: Export pretty text function for plugin use (#13826)
This commit is contained in:
parent
cb858af8c7
commit
9165f0a0f8
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ export function setup(helper) {
|
|||
});
|
||||
}
|
||||
|
||||
function mentionRegex(unicodeUsernames) {
|
||||
export function mentionRegex(unicodeUsernames) {
|
||||
if (unicodeUsernames) {
|
||||
try {
|
||||
// Create the regex from a string, because Babel doesn't understand
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue