cvs commit: www/en index.xsl

Simon L. Nielsen simon at FreeBSD.org
Sat Feb 19 18:56:50 GMT 2005


On 2005.02.19 18:30:47 +0000, Ceri Davies wrote:
> On Sat, Feb 19, 2005 at 03:36:43PM +0000, Simon L. Nielsen wrote:
> > simon       2005-02-19 15:36:43 UTC
> > 
> >   FreeBSD doc repository
> > 
> >   Modified files:
> >     en                   index.xsl 
> >   Log:
> >   Add trademark symbols for Athlon, Opteron, and Pentium.
> 
> > | @@ -132,8 +132,8 @@
> > |  	      <h2>What is FreeBSD?</h2>
> > |  
> > |  	      <p>FreeBSD is an advanced operating system for x86
> > | -		compatible (including Pentium and Athlon), amd64
> > | -		compatible (including Opteron, Athlon 64, and EM64T),
> > | +		compatible (including Pentium&#174; and Athlon&#8482;), amd64
> > | +		compatible (including Opteron&#8482;, Athlon 64, and EM64T),
> 
> What is the reason for avoiding the character entities here?

The index file is XML so the character entities like &trade; simply
don't work by default.  It's not easy (AFAIK) to add the entities
ourself with our current misuse[1] of XSL, without having to add them
to all XSL files...

[1] We keep real content the the XSL file where XSL is suposed to be a
stylesheet to transform between XML formats.

> I'm only asking as they're a lot less cryptic and superficially a better
> choice.

I agree the character entities (or whatever they are really called)
are much better for readability.

-- 
Simon L. Nielsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20050219/f247cce0/attachment.bin


More information about the cvs-all mailing list