Skip to content

Including image descriptions on page description makes the description meta less readable #306

Closed

Description

@ricardojmendez

Describe the bug

If there is an image at the start of the article, and this image includes a description, the meta for the article will include it, followed by the first paragraph.

This causes article previews to end up being less readable.

I'd have expected the description meta to start with the first paragraph.

Steps to reproduce (if necessary)

  • Create a new article
  • Add an title, then before the first paragraph, include an image with a description
  • The page's meta description will include the image description

Expected behavior

The page's description should not include anything about the image and start at the first paragraph

Activity

  1. thebaer commented on May 15, 2020

    @thebaer
    Member

    Thanks for catching this, @ricardojmendez! Definitely want to improve this.

    I've opened an issue for this in the library that processes text for the page descriptions: writeas/go-strip-markdown#2. After fixing this there, we'll get it into WF.

  2. added this to the 0.13.1 milestone on Jun 25, 2021
  3. self-assigned this
    on Jun 25, 2021
  4. added a commit that references this issue on Jun 25, 2021
    720a8c1
  5. linked a pull request that will close this issueDon't include img alt text in post Summary() #476on Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions