commit:     2b33c9a170b122b6fd4ff33718698b25baaca889
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 25 16:27:04 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Feb 28 06:25:01 2020 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=2b33c9a1

bin/gen-eclass-html.sh: Use en-dash in page title.

For consistency with devbook.xsl. The literal character is visually
indistinguishable from other dashes when using a fixed-width font,
therefore replace it by an &#x2013; escape.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 bin/gen-eclass-html.sh | 2 +-
 devbook.xsl            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh
index ed43090..88f05a0 100755
--- a/bin/gen-eclass-html.sh
+++ b/bin/gen-eclass-html.sh
@@ -10,7 +10,7 @@ IFS='' read -r -d '' HEADER << 'EOF'
 <html lang="en">
 <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-       <title>@TITLE@ - Gentoo Development Guide</title>
+       <title>@TITLE@ &#x2013; Gentoo Development Guide</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="The Gentoo Devmanual is a technical 
manual which covers topics such as writing ebuilds and eclasses, and policies 
that developers should be abiding by.">
        <link href="https://assets.gentoo.org/tyrian/bootstrap.min.css"; 
rel="stylesheet" media="screen">

diff --git a/devbook.xsl b/devbook.xsl
index 0fd8766..69a3b9a 100644
--- a/devbook.xsl
+++ b/devbook.xsl
@@ -452,7 +452,7 @@
     <xsl:value-of select='$newline'/>
     <html lang="en">
     <head>
-      <title><xsl:value-of select="/guide/chapter[1]/title"/> – Gentoo 
Development Guide</title>
+      <title><xsl:value-of select="/guide/chapter[1]/title"/> &#x2013; Gentoo 
Development Guide</title>
       <meta name="viewport" content="width=device-width, initial-scale=1.0" />
       <meta name="description" content="The Gentoo Devmanual is a technical 
manual which covers topics such as writing ebuilds and eclasses, and policies 
that developers should be abiding by." />
       <xsl:choose>

Reply via email to