Skip to content

Commit 7565a59

Browse files
authored
Change warning to caution
1 parent 36979b3 commit 7565a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The included `demo` directory contains an HTML->Markdown conversion form to try
6161

6262
### Conversion options
6363

64-
> [!WARNING]
64+
> [!CAUTION]
6565
> By default, this library preserves HTML tags without Markdown equivalents, like `<span>`, `<div>`, `<iframe>`, `<script>`, etc. If you will be parsing untrusted input from users, **please consider setting the `strip_tags` and/or `remove_nodes` options** documented below, and also using a library (like [HTML Purifier](https://github.com/ezyang/htmlpurifier)) to provide additional HTML filtering.
6666
6767
To strip HTML tags that don't have a Markdown equivalent while preserving the content inside them, set `strip_tags` to true, like this:

0 commit comments

Comments
 (0)