mirror of
https://github.com/wassname/talk.git
synced 2026-07-21 12:51:03 +08:00
Adding auto escape
This commit is contained in:
@@ -17,6 +17,7 @@ export default ({suspectWords, bannedWords, body, ...rest}) => {
|
||||
return (
|
||||
<Highlighter
|
||||
{...rest}
|
||||
autoEscape={true}
|
||||
searchWords={searchWords}
|
||||
textToHighlight={body}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user