From 60db8e5896be05d23137a6bdb806e63519171f9e Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 10 Jan 2024 18:03:27 +0100 Subject: [PATCH] Add note on `gfm_tagfilter` w/ `allow_dangerous_html` Closes GH-99. --- src/configuration.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/configuration.rs b/src/configuration.rs index e995c094..eab2dbff 100644 --- a/src/configuration.rs +++ b/src/configuration.rs @@ -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 /// /// ```