Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Fix <amp-img> fallback value #4607

Merged
merged 2 commits into from
Dec 13, 2021
Merged

Fix <amp-img> fallback value #4607

merged 2 commits into from
Dec 13, 2021

Conversation

amoore108
Copy link
Contributor

Follow up fix for #4606

Overall change: Sets an explicit empty value for the fallback attribute on <amp-img />, as this value is defaulted to true by React if set without an explicit value. AMP validator fails if it finds a value associated with fallback


  • (BBC contributors only) This PR follows the repository use guidelines
  • I have assigned myself to this PR and the corresponding issues
  • Automated jest tests added (for new features) or updated (for existing features)
  • This PR requires manual testing

@amoore108 amoore108 self-assigned this Dec 13, 2021
@amoore108 amoore108 merged commit eb1864f into latest Dec 13, 2021
@amoore108 amoore108 deleted the amp-img-fallback-fix branch December 13, 2021 17:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants