Skip to content

Article Auto Generated Excerpt Includes Image Alt Text (if no excerpt is provided) #1190

@Shane-Donlon

Description

@Shane-Donlon

Context

When reading Dan's Article on Codú this morning the excerpt starts with "image description" which is alt text for the image that is in the article.

Codú Article on solid principals

Current Behavior

article card about solid principals

Steps to reproduce

The article above starts with an image.
Then when publishing the article an excerpt was not provided by the author, and when saving the excerpt was taken from the top content of the article, which has pulled in the image alt text and added the words "image description" to the excerpt.

Another example can be found on dev.codu.co that I was using to replicate the issue.
articles in development environment
article card highlighting the error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions