diff options
| author | Michael Williamson <mike@zwobble.org> | 2025-09-10 16:23:50 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2025-09-10 16:23:50 +0100 |
| commit | 660da135c950031097269f5d610e771698f99eb3 (patch) | |
| tree | 8dd4170cc97d440fbdf7d831d6a8adfb7389002c | |
| parent | 2ae24020f8cd5a6b9c07e368c5b8726780dd92bb (diff) | |
Recommend externalFileAccess with untrusted user input
| -rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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. |
