quotation marks in HTML output

Jim Mock jim at FreeBSD.org
Fri Mar 28 03:57:27 UTC 2003


On Fri, 28 Mar 2003 at 05:00:48 +0200, Giorgos Keramidas wrote:
> On 2003-03-27 13:37, "Gary W. Swearingen" <swear at attbi.com> wrote:
> > Giorgos Keramidas <keramida at FreeBSD.org> writes:
> > > For these reasons, I'd probably support switching to double quotes
> > > like "...." for HTML output.  But only for HTML output.
> >
> > Unless the FDP is trying to support some REALLY old browsers, HTML
> > should use the "&#8220" and "&#8221" (Unicode) entities for left and
> > right double quotation marks (with "&#8216" and "&#8217" for the
> > single versions).  The FDP should not support such old browsers.
> > I'm fairly sure that all Netscape and M$ browsers less than 5 years
> > old support these four Unicode entities.
> 
> Gary, this sounds like a great idea :-)
> 
> I've replaced literal `` and '' in doc/share/sgml with these entities
> and just finished a full rebuild of doc/en_US.ISO8859-1/.
> 
> : Index: freebsd.dsl
> : ===================================================================
> : RCS file: /home/giorgos/cvsroot/giorgos/fx/doc/share/sgml/freebsd.dsl,v
> : retrieving revision 1.1.1.2
> : diff -u -r1.1.1.2 freebsd.dsl
> : --- freebsd.dsl	16 Feb 2003 22:12:04 -0000	1.1.1.2
> : +++ freebsd.dsl	28 Mar 2003 02:42:25 -0000
> : @@ -722,9 +722,9 @@
> :  
> :        (element errorname
> :          (make sequence
> : -          <![ %output.html;  [ (literal "``") ]]>
> : +          <![ %output.html;  [ (literal "“") ]]>
> :            ($mono-seq$ (process-children))
> : -          <![ %output.html;  [ (literal "''") ]]>
> : +          <![ %output.html;  [ (literal "'”") ]]>

You've still got a ' in there                 ^

- jim

-- 
- jim mock.     email: mij at soupnazi.org     web: http://soupnazi.org -
- freebsd project: jim at FreeBSD.org    opendarwin: mij at opendarwin.org -



More information about the freebsd-doc mailing list