amphtml
amphtml copied to clipboard
target="_self" flagged as 'invalid tag attribute values' in Google Search Console
Is there a way to have the plug-in automatically strip out any invalid 'target' attributes on links?
According to the ampproject:
The href attribute value must not begin with javascript:. If set, the target attribute value must be _blank.
Google Search Console has reported content containing anchors with target="_self" as invalid tag attribute values.