olddoc user/dev discussion/patches/bugs/etc
 help / color / mirror / code / Atom feed
* [PATCH] _head: fix Content-Type charset attribute
@ 2016-06-27 18:29 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2016-06-27 18:29 UTC (permalink / raw)
  To: olddoc-public

Oops, this breaks rendering with some browser configurations
which do not assume UTF-8.
---
 lib/oldweb/_head.rhtml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/oldweb/_head.rhtml b/lib/oldweb/_head.rhtml
index ae4d5e9..720fd95 100644
--- a/lib/oldweb/_head.rhtml
+++ b/lib/oldweb/_head.rhtml
@@ -8,4 +8,4 @@ type="application/atom+xml" /><%
 end
 %><meta
 http-equiv="Content-Type"
-content="text/html; <%= @options.charset %>">
+content="text/html; charset=<%= @options.charset %>">
-- 
EW


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-27 18:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-27 18:29 [PATCH] _head: fix Content-Type charset attribute Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/olddoc.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).