Skip to content

Commit 660da13

Browse files
committed
Recommend externalFileAccess with untrusted user input
1 parent 2ae2402 commit 660da13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ Converts the source document to HTML.
379379
* `externalFileAccess`: Source documents may reference files outside of the source document.
380380
To disable access to any such external files during the conversion process,
381381
set `options.externalFileAccess` to `false`.
382+
This is highly recommended when converting untrusted user input.
382383

383384
* `convertImage`: by default, images are converted to `<img>` elements with the source included inline in the `src` attribute.
384385
Set this option to an [image converter](#image-converters) to override the default behaviour.

0 commit comments

Comments
 (0)