mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
DEV: Export pretty text function for plugin use (#13826)
This commit is contained in:
parent
cb858af8c7
commit
9165f0a0f8
@ -33,7 +33,7 @@ export function setup(helper) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function mentionRegex(unicodeUsernames) {
|
export function mentionRegex(unicodeUsernames) {
|
||||||
if (unicodeUsernames) {
|
if (unicodeUsernames) {
|
||||||
try {
|
try {
|
||||||
// Create the regex from a string, because Babel doesn't understand
|
// Create the regex from a string, because Babel doesn't understand
|
||||||
|
Loading…
Reference in New Issue
Block a user