Skip to content

Commit

Permalink
fix: also suppress captions for webp, heic, icns without alt-text
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Aug 15, 2024
1 parent 207f523 commit c0984b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/03 images tables embeds.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ body:not(.no-image-alttext-caption)
[alt$=".png"],
[alt$=".jpg"],
[alt$=".jpeg"],
[alt$=".tiff"]
[alt$=".tiff"],
[alt$=".heic"],
[alt$=".icns"],
[alt$=".webp"]
)::after {
padding-top: 2px;
margin-bottom: 1em;
Expand Down

0 comments on commit c0984b9

Please sign in to comment.