Open iransamaneh opened 6 years ago
using an a tag with malformed url like https://.sample.com/test/route in AMP validator led to following error without any warning or error in convertToAmpHtml method
Malformed URL 'https://.sample.com/test/route' for attribute 'href' in tag 'a'. DISALLOWED_HTML
sample code
<a href="https://.sample.com/test/route">test link</a>
tested with master source code version of amp-library using composer and php 5.6
using an a tag with malformed url like https://.sample.com/test/route in AMP validator led to following error without any warning or error in convertToAmpHtml method
sample code
<a href="https://.sample.com/test/route">test link</a>
tested with master source code version of amp-library using composer and php 5.6