Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5bf218d

Browse files
committed
Add character set declaration to HTML files, so they have a chance to
validate and display correctly.
1 parent979a530 commit5bf218d

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,v1.27 2004/06/29 20:44:34 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/stylesheet.dsl,v1.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)

[8]ページ先頭

©2009-2025 Movatter.jp