Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply lang="en" in bulk to examples/ #34836

Merged
merged 1 commit into from
Jun 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/ad-lightbox.amp.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the license.
-->
<!doctype html>
<html ⚡>
<html ⚡ lang="en">
<head>
<meta charset="utf-8">
<title>AMP Ad Lightbox Prototype Example</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-ad-exit-conversion.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html amp4ads>
<html amp4ads lang="en">
<head>
<title>amp-ad-exit example with conversion tracking</title>
<meta charset="utf-8">
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-ad-exit.amp.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html amp4ads>
<html amp4ads lang="en">
<head>
<title>amp-ad-exit example</title>
<meta charset="utf-8">
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-ad/sticky-creative.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html>
<!doctype html><html lang="en">
<head><meta charset=utf-8>
<meta content=width=device-width,minimum-scale=1,initial-scale=1 name=viewport>
<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-autocomplete.ssr.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html ⚡ allow-viewer-render-template>
<html ⚡ allow-viewer-render-template lang="en">
<head>
<meta charset="utf-8">
<title>Forms Examples in AMP</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-consent/amp-consent-iframe.embed.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<body style="background-color:#EEEEEE">
<script>
function isAmpMessage(event, type) {
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-consent/diy-3p-iframe-tcf-postmessage.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-consent/diy-consent.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html>
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="https://raw.githack.com/ganapativs/bttn.css/master/dist/bttn.min.css" />
<link rel="stylesheet" href="https://unpkg.com/sakura.css/css/sakura.css" type="text/css" />
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-form.ssr.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html ⚡ allow-viewer-render-template>
<html ⚡ allow-viewer-render-template lang="en">
<head>
<meta charset="utf-8">
<title>Forms Examples in AMP</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-list.ssr.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html ⚡ allow-viewer-render-template>
<html ⚡ allow-viewer-render-template lang="en">
<head>
<meta charset="utf-8">
<script async src="https://cdn.ampproject.org/v0.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-script/hello-world.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<script async src="hello-world.js"></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-story/ads/app-install.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html ⚡4ads>
<html ⚡4ads lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,minimum-scale=1">
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-story/amp-story-desktop-one-panel.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html ⚡>
<html ⚡ lang="en">
<head>
<meta charset="utf-8">
<title>amp-story-desktop-one-panel example</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-story/player-local-stories.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<title>Story Player (Non-AMP)</title>
<script async src="../../dist/amp-story-player.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-story/player-story-attribution.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<title>Story Attribution</title>
<script async src="../../dist/amp-story-player.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-story/player-with-button.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html>
<html lang="en">
<head>
<title>Story Player (Non-AMP)</title>
<script async src="../../dist/amp-story-player.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-story/player.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<title>Story Player (Non-AMP)</title>
<script async src="../../dist/amp-story-player.js"></script>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<script src="/extensions/amp-access/0.1/iframe-api/build/index.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion examples/amp-video-iframe/frame-consent-es2015.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-video-iframe/frame-consent.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-video-iframe/frame-es2015.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-video-iframe/frame-videojs.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link href="https://vjs.zencdn.net/7.3.0/video-js.css" rel="stylesheet">
Expand Down
2 changes: 1 addition & 1 deletion examples/amp-video-iframe/frame.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down
2 changes: 1 addition & 1 deletion examples/ampcontext-creative-json.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<style>
body {
Expand Down
2 changes: 1 addition & 1 deletion examples/ampcontext-creative.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<style>
body {
Expand Down
2 changes: 1 addition & 1 deletion examples/amphtml-ads/adchoices-1.a4a.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html amp4ads>
<html amp4ads lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width,minimum-scale=1,initial-scale=1" name="viewport">
Expand Down
2 changes: 1 addition & 1 deletion examples/amphtml-ads/adchoices-2.a4a.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html amp4ads>
<html amp4ads lang="en">
<head>
<meta http-equiv="Content-Security-Policy" content="script-src https://cdn.ampproject.org/;object-src 'none';child-src blob:;frame-src 'none'">
<meta charset="utf-8">
Expand Down
2 changes: 1 addition & 1 deletion examples/amphtml-ads/animation-ad.a4a.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html ⚡4ads>
<html ⚡4ads lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
Expand Down
2 changes: 1 addition & 1 deletion examples/amphtml-ads/gif-ad.a4a.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html ⚡4ads>
<html ⚡4ads lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
Expand Down
2 changes: 1 addition & 1 deletion examples/amphtml-ads/gpt.host.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script async="async" src="https://www.googletagservices.com/tag/js/gpt.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion examples/amphtml-ads/text-ad.a4a.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html ⚡4ads>
<html ⚡4ads lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
Expand Down
2 changes: 1 addition & 1 deletion examples/amphtml-ads/visibility-ad.a4a.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html ⚡4ads>
<html ⚡4ads lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
Expand Down
2 changes: 1 addition & 1 deletion examples/everything.iframed.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
Expand Down
2 changes: 1 addition & 1 deletion examples/mraid/inabox-mraid.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html ⚡4ads>
<html ⚡4ads lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
Expand Down
2 changes: 1 addition & 1 deletion examples/multiple-docs.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
Expand Down
2 changes: 1 addition & 1 deletion examples/pwa/pwa-sd-polyfill.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>PWA</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/pwa/pwa.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>PWA</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/timeago.amp.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html amp4email data-css-strict>
<html amp4email data-css-strict lang="en">
<head>
<meta charset="utf-8">
<script async src="https://cdn.ampproject.org/v0.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion examples/viewer-iframe-poll.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Viewer</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/viewer-webview.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Viewer</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/viewer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Viewer</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/visual-tests/amp-story-player/back-button.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html>
<html lang="en">
<head>
<title>Story Player (Non-AMP)</title>
<script>
Expand Down
2 changes: 1 addition & 1 deletion examples/visual-tests/amp-story-player/close-button.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html>
<html lang="en">
<head>
<title>Story Player (Non-AMP)</title>
<script>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<title>Story Player (Non-AMP)</title>
<script>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<title>Story Attribution</title>
<script>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>AMP Inabox Test</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/visual-tests/font.amp/font.amp.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html ⚡ class="comic-amp-font-loading comic-amp-bold-font-loading">
<html ⚡ class="comic-amp-font-loading comic-amp-bold-font-loading" lang="en">
<head>
<meta charset="utf-8">
<title>Font example</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/xhr-intercept.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html ⚡ allow-xhr-interception>
<html ⚡ allow-xhr-interception lang="en">
<head>
<meta charset="utf-8">
<script async src="https://cdn.ampproject.org/v0.js"></script>
Expand Down