You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a note for whitelisted tags by default in the TargetScrubber (#110)
* add a note for whitelisted tags by default in the TargetScrubber
* reword the whitelisted to permitted
Co-authored-by: Kasper Timm Hansen <[email protected]>
* added the permitted tag list to the README
Co-authored-by: Kasper Timm Hansen <[email protected]>
Where `PermitScrubber` picks out tags and attributes to permit in sanitization,
84
-
`Rails::Html::TargetScrubber` targets them for removal.
84
+
`Rails::Html::TargetScrubber` targets them for removal. See https://github.com/flavorjones/loofah/blob/main/lib/loofah/html5/safelist.rb for the tag list.
85
85
86
+
**Note:** by default, it will scrub anything that is not part of the permitted tags from
0 commit comments