mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Fix lint take 2.
This commit is contained in:
parent
e2fc05705f
commit
cf2797bf58
@ -3,9 +3,9 @@ import { censor } from "pretty-text/censored-words";
|
|||||||
import { emojiUnescape } from "discourse/lib/text";
|
import { emojiUnescape } from "discourse/lib/text";
|
||||||
import { isRTL } from "discourse/lib/text-direction";
|
import { isRTL } from "discourse/lib/text-direction";
|
||||||
|
|
||||||
export function fancyTitle(title, supportMixedTextDirection) {
|
export function fancyTitle(topicTitle, supportMixedTextDirection) {
|
||||||
let title = censor(
|
let title = censor(
|
||||||
emojiUnescape(title) || "",
|
emojiUnescape(topicTitle) || "",
|
||||||
Site.currentProp("censored_regexp")
|
Site.currentProp("censored_regexp")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user