Merge pull request #2721 from pbakaus/patch-1

Make AMP detection slightly more robust
main
Elbert Alias 6 years ago committed by GitHub
commit 54fa01fd19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -107,13 +107,13 @@
}, },
"website": "http://awstats.sourceforge.net" "website": "http://awstats.sourceforge.net"
}, },
"Accelerated Mobile Pages": { "AMP": {
"cats": [ "cats": [
12 12
], ],
"html": "<html[^>]* (?:amp|⚡)", "html": "<html[^>]* (?:amp|⚡)[^-]",
"icon": "Accelerated-Mobile-Pages.svg", "icon": "Accelerated-Mobile-Pages.svg",
"website": "https://www.ampproject.org" "website": "https://www.amp.dev"
}, },
"AMP Plugin": { "AMP Plugin": {
"cats": [ "cats": [