You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider sanitising string input for .create(), or add a warning to notes if we want to add markup. Simple sanitisation would be to create a <template> with js, set it's innerHTML to the string and then retrieve it again, at which point any entities will be encoded.
The text was updated successfully, but these errors were encountered:
Consider sanitising string input for
.create()
, or add a warning to notes if we want to add markup. Simple sanitisation would be to create a<template>
with js, set it'sinnerHTML
to the string and then retrieve it again, at which point any entities will be encoded.The text was updated successfully, but these errors were encountered: