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
<style> on line 7
- The tag 'head > style[amp-boilerplate] - old variant' is deprecated - use 'head > style[amp-boilerplate]' instead.
[code: DEPRECATED_TAG category: DEPRECATION see: https://github.com/ampproject/amphtml/blob/master/spec/amp-boilerplate.md]
Context: Using $amp->loadHtml($html, ['scope' => Scope::HTML_SCOPE]);
The text was updated successfully, but these errors were encountered:
When a HTML content contains
style
tag, it doesn't convert it. Few weird things happen:$amp->convertToAmpHtml()
completely removesstyle
tag$amp->warningsHumanText()
displays error something like (from input string--not output string):Context: Using
$amp->loadHtml($html, ['scope' => Scope::HTML_SCOPE]);
The text was updated successfully, but these errors were encountered: