diff options
| author | Michael Williamson <mike@zwobble.org> | 2025-09-10 16:40:27 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2025-09-10 16:40:27 +0100 |
| commit | 444dc1b64c015197bf6b5219da9459bc0cf6f787 (patch) | |
| tree | e34a6f67f643d5fd160d1465444ddd9c9b872439 /README.md | |
| parent | 7ef256b4b287af758d5bad0912de7140a4f69fbf (diff) | |
Support disabling external file access
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |
