Skip to content

Commit 5bf218d

Browse files
committed
Add character set declaration to HTML files, so they have a chance to
validate and display correctly.
1 parent 979a530 commit 5bf218d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/src/sgml/stylesheet.dsl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/stylesheet.dsl,v 1.27 2004/06/29 20:44:34 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/stylesheet.dsl,v 1.28 2004/11/10 23:01:47 petere Exp $ -->
22
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
33

44
<!-- must turn on one of these with -i on the jade command line -->
@@ -193,9 +193,10 @@
193193
(make empty-element gi: "HR")
194194
(empty-sosofo)))
195195

196-
;; Put date of creation into HTML header
196+
;; Add character encoding and time of creation into HTML header
197197
(define %html-header-tags%
198-
(list (list "META" '("NAME" "creation") (list "CONTENT" (time->string (time) #t)))))
198+
(list (list "META" '("HTTP-EQUIV" "Content-Type") '("CONTENT" "text/html; charset=ISO-8859-1"))
199+
(list "META" '("NAME" "creation") (list "CONTENT" (time->string (time) #t)))))
199200

200201
;; Create an index
201202
(define html-index #t)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy