aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2025-09-10 16:40:27 +0100
committerMichael Williamson <mike@zwobble.org>2025-09-10 16:40:27 +0100
commit444dc1b64c015197bf6b5219da9459bc0cf6f787 (patch)
treee34a6f67f643d5fd160d1465444ddd9c9b872439 /README.md
parent7ef256b4b287af758d5bad0912de7140a4f69fbf (diff)
Support disabling external file access
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
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.