Lullabot / amp-library

Convert HTML to AMP HTML and report HTML compliance with the AMP HTML specification
Other
382 stars 181 forks source link

Infogram implementation #272

Open KurtTrowbridge opened 4 years ago

KurtTrowbridge commented 4 years ago

Hello!

I'm working on a project that uses Infogram for a lot of data reporting within their articles, and needed to be able to auto-convert from their standard embed codes that have been added as Drupal content to their recommendation of amp-iframe elements.

This pull request essentially mimics what @obeyer did for Tumblr and Imgur compatibility. I've tested this and it's working for me, but if you need any more information, please let me know. Thanks!