You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When it gets converted to AMP using htm-to-article-json then article-json-to-amp the above code gets <img> tags stripped out. The problem comes from html-to-article-json. I think <p> tags should be treated as <div> tags since both are block elements by HTML standard.
This is standard syntax used by all Markdown converters and static site generators.
The below code replaces <p> with <div> and it works perfect as an example:
<p><img src="http://i.imgur.com/W9jw9sf.png" width="500" height="500" /><p>
When it gets converted to AMP using htm-to-article-json then article-json-to-amp the above code gets
<img>
tags stripped out. The problem comes from html-to-article-json. I think<p>
tags should be treated as<div>
tags since both are block elements by HTML standard.This is standard syntax used by all Markdown converters and static site generators.
The below code replaces
<p>
with<div>
and it works perfect as an example:The text was updated successfully, but these errors were encountered: