mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
feat(sanitizer): consider images of size 0x0 as pixel trackers
This commit is contained in:
parent
72486b9bd1
commit
152ef578d2
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ func isPixelTracker(tagName string, attributes []html.Attribute) bool {
|
|||
hasWidth := false
|
||||
|
||||
for _, attribute := range attributes {
|
||||
if attribute.Val == "1" {
|
||||
if attribute.Val == "1" || attribute.Val == "0" {
|
||||
switch attribute.Key {
|
||||
case "height":
|
||||
hasHeight = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue