mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 20:34:52 +00:00
make eslint happy
This commit is contained in:
parent
9f65658c5c
commit
823e50b099
@ -105,7 +105,7 @@ export function selectedText() {
|
||||
// replace emojis
|
||||
$div.find("img.emoji").replaceWith(function() { return this.title; });
|
||||
// replace br with newlines
|
||||
$div.find("br").replaceWith(() => "\n")
|
||||
$div.find("br").replaceWith(() => "\n");
|
||||
|
||||
return String($div.text()).trim();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user