mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
use dedicated linkifyjs packages according to package update
This commit is contained in:
parent
10747cc3e7
commit
b735824967
@ -1,5 +1,5 @@
|
|||||||
import sanitizeHtml from 'sanitize-html'
|
import sanitizeHtml from 'sanitize-html'
|
||||||
import linkifyHtml from 'linkifyjs/html'
|
import linkifyHtml from 'linkifyjs-html'
|
||||||
|
|
||||||
export const removeHtmlTags = (input) => {
|
export const removeHtmlTags = (input) => {
|
||||||
return sanitizeHtml(input, {
|
return sanitizeHtml(input, {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user