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

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

[elpa] elpa-admin c90458f 329/357: Add lang attributes to the html tag


From: Stefan Monnier
Subject: [elpa] elpa-admin c90458f 329/357: Add lang attributes to the html tag
Date: Thu, 10 Dec 2020 18:07:08 -0500 (EST)

branch: elpa-admin
commit c90458f38a039090648465b7e09ca0d1a87da8e1
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 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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\">



reply via email to

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