Revert "Use us-ascii charset in HTML template if --ascii option."

This reverts commit aec5489960.

No need for this, since a UTF-8 charset will handle ascii just fine.
This commit is contained in:
John MacFarlane 2011-02-06 10:30:52 -08:00
parent fb5faaa91e
commit 47ba15f5a1
2 changed files with 0 additions and 9 deletions

View file

@ -178,7 +178,6 @@ inTemplate opts tit auths date toc body' newvars =
(case toc of
Just t -> [ ("toc", showHtmlFragment t)]
Nothing -> []) ++
[ ("ascii","true") | writerAscii opts ] ++
[ ("author", a) | a <- authors ]
in renderTemplate context $ writerTemplate opts

View file

@ -7,17 +7,9 @@ $else$
$endif$
<head>
$if(html5)$
$if(ascii)$
<meta charset="us-ascii" />
$else$
<meta charset="utf-8" />
$endif$
$else$
$if(ascii)$
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
$else$
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
$endif$
$endif$
<meta name="generator" content="pandoc" />
$for(author)$