The configuration suffix that is appended to an image's alt attribute text (to inline, float, add custom classes etc. to the image) is not removed after being used. See the attached screenshot.
Pull Request type
Please check the type of change your PR introduces:
[x] Bug-fixes, new features, and doc changes: I have updated the relevant documentation as part of this PR.
[x] All PRs: I have signed off (using git commit -s ...), or if not possible due to developer environment constraints, will comment below confirming that I am adhering to the Developer Certificate of Origin.
The configuration suffix that is appended to an image's alt attribute text (to inline, float, add custom classes etc. to the image) is not removed after being used. See the attached screenshot.
Pull Request type
Please check the type of change your PR introduces:
Current state
Issue Number(s):
Proposed changes
In the
populateAlt(images)
function the extra information is removed from alt, but the clean alt text is not persisted back to the image element.Persist the modified/clean alt text to the image element with:
Screenshots, if applicable
Checklist
git commit -s ...
), or if not possible due to developer environment constraints, will comment below confirming that I am adhering to the Developer Certificate of Origin.