aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-12-16 07:43:11 +0100
committerUlrich Müller <ulm@gentoo.org>2019-12-16 07:43:11 +0100
commit0563026d23083cf20fc446d5ac6f77dcdda1ff3d (patch)
treecba7db529af04ba21d8c41ae9d444368328856c1 /bin
parentbin/gen-eclass-html.sh: More robust pattern matching. (diff)
downloaddevmanual-0563026d23083cf20fc446d5ac6f77dcdda1ff3d.tar.gz
devmanual-0563026d23083cf20fc446d5ac6f77dcdda1ff3d.tar.bz2
devmanual-0563026d23083cf20fc446d5ac6f77dcdda1ff3d.zip
devbook.xsl: Add html lang attribute.
The W3 Validator wants to have this. Also add a newline after the doctype declaration. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gen-eclass-html.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh
index fe17064..e1f9e1f 100755
--- a/bin/gen-eclass-html.sh
+++ b/bin/gen-eclass-html.sh
@@ -6,7 +6,8 @@
OUTPUTDIR="eclass-reference"
IFS='' read -r -d '' HEADER << 'EOF'
-<!DOCTYPE html><html lang="en">
+<!DOCTYPE html>
+<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>@TITLE@ - Gentoo Development Guide</title>