mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 05:08:00 +02:00
Moved to AGPLv3, Prefs for codec and audio quality
This commit is contained in:
parent
60167e45a7
commit
4ac524dcf2
8 changed files with 787 additions and 271 deletions
|
@ -1,7 +1,9 @@
|
|||
import DOMPurify from 'dompurify';
|
||||
|
||||
export function useSanitize(txt) {
|
||||
return DOMPurify.sanitize(txt);
|
||||
return DOMPurify.sanitize(txt, {
|
||||
ALLOWED_TAGS: ['br'],
|
||||
});
|
||||
}
|
||||
|
||||
export function useRoute(l) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue