security: encrypt NaCl keypair at rest with AES-GCM and harden PoW captcha signature with HMAC-SHA256
This commit is contained in:
@@ -635,11 +635,7 @@ class PageListing extends HTMLElement {
|
||||
|
||||
formatDescription(text) {
|
||||
if (!text) return ''
|
||||
return text
|
||||
.replace(/&/g, '&')
|
||||
.replace(/</g, '<')
|
||||
.replace(/>/g, '>')
|
||||
.replace(/\n/g, '<br>')
|
||||
return escapeHTML(text).replace(/\n/g, '<br>')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user