diff options
| author | Michael Williamson <mike@zwobble.org> | 2025-09-10 16:25:23 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2025-09-10 16:25:23 +0100 |
| commit | 8216e5ae1770955ad2400cee764c7f8ec56483bf (patch) | |
| tree | 7c8406697abeb87b93c842c02d98f68ca0b57919 | |
| parent | 676581c0310a025ddc6ec8253681089e6de70da9 (diff) | |
Recommend external_file_access=False with untrusted user input
| -rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -293,6 +293,7 @@ Converts the source document to HTML. * Source documents may reference files outside of the source document. To disable access to any such external files during the conversion process, pass `external_file_access=False`. + This is highly recommended when converting untrusted user input. * `convert_image`: by default, images are converted to `<img>` elements with the source included inline in the `src` attribute. Set this argument to an [image converter](#image-converters) to override the default behaviour. |
