emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 4c4eceb 1/2: Add lang attributes to the html tag


From: Stefan Kangas
Subject: [elpa] master 4c4eceb 1/2: Add lang attributes to the html tag
Date: Wed, 26 Aug 2020 19:22:59 -0400 (EDT)

branch: master
commit 4c4eceb121212fb5d310fe391f725bb623e67620
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    Add lang attributes to the html tag
    
    * html/index.html:
    * admin/archive-contents.el (archive--html-header): Add lang attributes
    to the html tag as recommended by W3C.
---
 admin/archive-contents.el | 2 +-
 html/index.html           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/admin/archive-contents.el b/admin/archive-contents.el
index 56f2b27..0ee3fc2 100644
--- a/admin/archive-contents.el
+++ b/admin/archive-contents.el
@@ -380,7 +380,7 @@ Rename DIR/ to PKG-VERS/, and return the descriptor."
 
 (defun archive--html-header (title &optional header)
   (format "<!DOCTYPE HTML PUBLIC>
-<html>
+<html lang=\"en\" xml:lang=\"en\">
     <head>
         <title>%s</title>
         <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">
diff --git a/html/index.html b/html/index.html
index 601a79a..84ffb68 100644
--- a/html/index.html
+++ b/html/index.html
@@ -1,5 +1,5 @@
 <!doctype html>
-<html>
+<html lang="en" xml:lang="en">
     <head>
         <title>GNU Emacs Lisp Package Archive</title>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">



reply via email to

[Prev in Thread] Current Thread [Next in Thread]