jossmac / jossmac/react-images

Alt tag is wrong when using html captions

Open
#369 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.3k
Forks
433
PR merge metrics
No merged PRs in 30d

Description

**Steps to reproduce the behavior:**
Use the feature supporting html string captions

**Expected behavior:**
The alt tag should either be the string-only contents of the html caption or should be settable via an additional props value.

**Actual behavior:**
The alt tag is the raw HTML markup and there is no way to fix or override.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.