Fossil SCM
Declare the character set in the default HTML header.
Commit
1997b71cf7327ceb25d38e7f494368115541c6b5b0d614e43270451848cab7f7
Parent
6d7b5c4a746109b…
1 file changed
+1
+1
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -559,10 +559,11 @@ | ||
| 559 | 559 | */ |
| 560 | 560 | static const char zDfltHeader[] = |
| 561 | 561 | @ <html> |
| 562 | 562 | @ <head> |
| 563 | 563 | @ <base href="$baseurl/$current_page" /> |
| 564 | +@ <meta charset="UTF-8"> | |
| 564 | 565 | @ <meta http-equiv="Content-Security-Policy" content="$default_csp" /> |
| 565 | 566 | @ <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 566 | 567 | @ <title>$<project_name>: $<title></title> |
| 567 | 568 | @ <link rel="alternate" type="application/rss+xml" title="RSS Feed" \ |
| 568 | 569 | @ href="$home/timeline.rss" /> |
| 569 | 570 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -559,10 +559,11 @@ | |
| 559 | */ |
| 560 | static const char zDfltHeader[] = |
| 561 | @ <html> |
| 562 | @ <head> |
| 563 | @ <base href="$baseurl/$current_page" /> |
| 564 | @ <meta http-equiv="Content-Security-Policy" content="$default_csp" /> |
| 565 | @ <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 566 | @ <title>$<project_name>: $<title></title> |
| 567 | @ <link rel="alternate" type="application/rss+xml" title="RSS Feed" \ |
| 568 | @ href="$home/timeline.rss" /> |
| 569 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -559,10 +559,11 @@ | |
| 559 | */ |
| 560 | static const char zDfltHeader[] = |
| 561 | @ <html> |
| 562 | @ <head> |
| 563 | @ <base href="$baseurl/$current_page" /> |
| 564 | @ <meta charset="UTF-8"> |
| 565 | @ <meta http-equiv="Content-Security-Policy" content="$default_csp" /> |
| 566 | @ <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 567 | @ <title>$<project_name>: $<title></title> |
| 568 | @ <link rel="alternate" type="application/rss+xml" title="RSS Feed" \ |
| 569 | @ href="$home/timeline.rss" /> |
| 570 |