mirror of
https://github.com/zadam/trilium.git
synced 2026-05-07 02:25:57 +02:00
fix(types): oops accidentally slapped a period there
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* script execution vectors (script tags, event handlers, javascript: URIs,
|
||||
* data: URIs on non-image elements, etc.).
|
||||
*/
|
||||
import DOMPurify from "dompurify";
|
||||
import DOMPurify, { type Config as DOMPurifyConfig } from "dompurify";
|
||||
|
||||
/**
|
||||
* Tags allowed in sanitized note content. This mirrors the server-side
|
||||
@@ -91,7 +91,7 @@ const ALLOWED_URI_REGEXP = /^(?:(?:https?|ftps?|mailto|evernote|file|gemini|git|
|
||||
/**
|
||||
* DOMPurify configuration for sanitizing note content.
|
||||
*/
|
||||
const PURIFY_CONFIG: DOMPurify.Config = {
|
||||
const PURIFY_CONFIG: DOMPurifyConfig = {
|
||||
ALLOWED_TAGS,
|
||||
ALLOWED_ATTR,
|
||||
ALLOWED_URI_REGEXP,
|
||||
|
||||
Reference in New Issue
Block a user