Skip to content

Commit

Permalink
Add note on gfm_tagfilter w/ allow_dangerous_html
Browse files Browse the repository at this point in the history
Closes GH-99.
  • Loading branch information
wooorm committed Jan 10, 2024
1 parent 33c8f8f commit 60db8e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,9 @@ pub struct CompileOptions {
///
/// Pass `true` for trusted content to get actual HTML elements.
///
/// When using GFM, make sure to also turn off `gfm_tagfilter`.
/// Otherwise, some dangerous HTML is still ignored.
///
/// ## Examples
///
/// ```
Expand Down

0 comments on commit 60db8e5

Please sign in to comment.