Skip to content

Image alt attribute should be "" instead of "null" when empty alternative text in CMS #80

@Ka-Repo

Description

@Ka-Repo

Similar to #57.

When an image has no alt text maintained in prismic, Fragment.Image#getAlt returns the String "null" instead of an empty String.

Tested with Java 17 & Version 2.0.0 of the java-kit.

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