From 444dc1b64c015197bf6b5219da9459bc0cf6f787 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 10 Sep 2025 16:40:27 +0100 Subject: Support disabling external file access --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index b18edfd..358a265 100644 --- a/README.md +++ b/README.md @@ -255,6 +255,10 @@ Methods: if the document contains an embedded style map, then it is combined with the default style map. Call this to ignore any embedded style maps. +* `DocumentConvert disableExternalFileAccess()`: Source documents may reference files outside of the source document. + Call this to disable access to any such external files during the conversion process. + This is highly recommended when converting untrusted user input. + * `DocumentConverter preserveEmptyParagraphs()`: by default, empty paragraphs are ignored. Call this to preserve empty paragraphs in the output. -- cgit v1.2.3