Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Oct 2005 21:20:20 GMT
From:      "Vladimir Chukharev" <chu@h33.erkki.ton.tut.fi>
To:        freebsd-www@FreeBSD.org
Subject:   Re: www/87119: [patch] encode copyright and such symbolically
Message-ID:  <200510082120.j98LKKdd020226@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR www/87119; it has been noted by GNATS.

From: "Vladimir Chukharev" <chu@h33.erkki.ton.tut.fi>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: www/87119: [patch] encode copyright and such symbolically
Date: Sun, 09 Oct 2005 00:11:19 +0300

 After I had sent the PR I realized the patch is for the wrong file -
 it's index.xsl to be patched, not index.html.
 
 The xsl file has all the special symbols written the same way,
 as &#nnnn; and some of them are kept in this format in
 the html file, while the others are  transformed to
 just a byte with the given code.
 
 I do not know how to fix this right. Can the entities
 &copy;, &reg; etc be used in xsl files? I think this form
 is better than &#nnnn;, at least in html files.
 
 -- 
 V.Chukharev
 
 PS. Unfortunately Opera encoded the attached patch into base64
 in the original PR, I put it here again in plain text.
 
 --- index.html.old	Sat Oct  8 14:05:08 2005
 +++ index.html	Sat Oct  8 14:22:02 2005
 @@ -128,14 +128,14 @@
                 <div id="frontfeaturecontainer">
                   <div id="frontfeatureleft">
                     <div id="frontfeaturecontent">
 -                    <h1>Based on BSD UNIX®</h1>
 +                    <h1>Based on BSD UNIX&reg;</h1>
 
                       <p>FreeBSD is an advanced operating system for
 -                    x86 compatible (including Pentium® and Athlon
 +                    x86 compatible (including Pentium&reg; and Athlon
                       &#8482;), amd64 compatible (including Opteron
                       &#8482;, Athlon 64, and EM64T), Alpha/AXP,
 -                    IA-64, PC-98 and UltraSPARC® architectures. It
 -                    is derived from BSD, the version of UNIX®
 +                    IA-64, PC-98 and UltraSPARC&reg; architectures. It
 +                    is derived from BSD, the version of UNIX&reg;
                       developed at the University of California,
                       Berkeley. It is developed and maintained by a
                       <a
 @@ -145,7 +145,7 @@
                       various stages of development.</p>
 
                       <div id="txtfrontfeaturelink">
 -                      »<a href="./about.html"
 +                      &raquo;<a href="./about.html"
                         title="Learn More">Learn More</a>
                       </div>
                     </div>
 @@ -1042,7 +1042,7 @@
           </div>
 
           <div id="footer">
 -          <a href="./copyright/">Legal Notices</a> | © 1995-2005
 +          <a href="./copyright/">Legal Notices</a> | &copy; 1995-2005
             The FreeBSD Project. All rights reserved.<br />
             $FreeBSD: www/en/index.xsl,v 1.133 2005/10/07 02:51:55
             murray Exp $



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510082120.j98LKKdd020226>