mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 07:45:51 +01:00
server-esm: Change simple library import statements
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import sanitizeHtml = require('sanitize-html');
|
||||
import sanitizeUrl = require('@braintree/sanitize-url');
|
||||
import sanitizeHtml from "sanitize-html";
|
||||
import sanitizeUrl from "@braintree/sanitize-url";
|
||||
|
||||
// intended mainly as protection against XSS via import
|
||||
// secondarily, it (partly) protects against "CSS takeover"
|
||||
|
||||
Reference in New Issue
Block a user