summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2025-09-10 16:23:50 +0100
committerMichael Williamson <mike@zwobble.org>2025-09-10 16:23:50 +0100
commit660da135c950031097269f5d610e771698f99eb3 (patch)
tree8dd4170cc97d440fbdf7d831d6a8adfb7389002c
parent2ae24020f8cd5a6b9c07e368c5b8726780dd92bb (diff)
Recommend externalFileAccess with untrusted user input
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 442ca62..9c34147 100644
--- a/README.md
+++ b/README.md
@@ -379,6 +379,7 @@ Converts the source document to HTML.
* `externalFileAccess`: Source documents may reference files outside of the source document.
To disable access to any such external files during the conversion process,
set `options.externalFileAccess` to `false`.
+ This is highly recommended when converting untrusted user input.
* `convertImage`: by default, images are converted to `<img>` elements with the source included inline in the `src` attribute.
Set this option to an [image converter](#image-converters) to override the default behaviour.