fix: don't allow unnecessary attributes in profile bio
This commit is contained in:
@@ -799,3 +799,9 @@ export const blockQuotesClick = () => {
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
export const decodeEntities = (encodedString) => {
|
||||
const textarea = document.createElement('textarea')
|
||||
textarea.innerHTML = encodedString
|
||||
return textarea.value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user