Skip to content

Mishandling of <img srcset=...> #1701

Description

@pbryan

Description
Foliate is not rendering an image when the img tag contains the srcset attribute, even when there is a src attribute present. When the srcset attribute is removed, the image renders correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Open title with srcset attribute present in image(s).
  2. Open title without srcset attributes present.
  3. Compare and observe missing images in the former.

Version:

  • Foliate version: 3.3.0
  • OS/Distribution and version: Arch Linux
  • Desktop environment: GNOME 50
  • Installation method: Flatpak

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions