mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -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 { isRTL } from "discourse/lib/text-direction";
|
||||
|
||||
export function fancyTitle(title, supportMixedTextDirection) {
|
||||
export function fancyTitle(topicTitle, supportMixedTextDirection) {
|
||||
let title = censor(
|
||||
emojiUnescape(title) || "",
|
||||
emojiUnescape(topicTitle) || "",
|
||||
Site.currentProp("censored_regexp")
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user