Skip to content

Support <img srcset> #1290

Description

@twm

Pass through the srcset attribute from feed content.

This implies some measure of support for the sizes attribute, which is required when using NNNNw specifiers. It can be used for art direction, but I don't know how commonly that's actually done. It may be possible to coerce the value to auto.

Prerequisite: teach feedparser how to resolve relative URIs within the srcset attribute.

Motivation: /feed/666/ has broken src attributes (such as in /article/281222/).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions