Skip to content

Commit 60db8e5

Browse files
committed
Add note on gfm_tagfilter w/ allow_dangerous_html
Closes GH-99.
1 parent 33c8f8f commit 60db8e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/configuration.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,9 @@ pub struct CompileOptions {
475475
///
476476
/// Pass `true` for trusted content to get actual HTML elements.
477477
///
478+
/// When using GFM, make sure to also turn off `gfm_tagfilter`.
479+
/// Otherwise, some dangerous HTML is still ignored.
480+
///
478481
/// ## Examples
479482
///
480483
/// ```

0 commit comments

Comments
 (0)