Skip to content

Commit

Permalink
Allow loading on img tags
Browse files Browse the repository at this point in the history
Closes #359
  • Loading branch information
gjtorikian committed Jan 26, 2023
1 parent 7ec0a79 commit 664c13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/html_pipeline/sanitization_filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class SanitizationFilter

attributes: {
"a" => ["href"],
"img" => ["src", "longdesc"],
"img" => ["src", "longdesc", "loading", "alt"],
"div" => ["itemscope", "itemtype"],
"blockquote" => ["cite"],
"del" => ["cite"],
Expand Down

0 comments on commit 664c13b

Please sign in to comment.