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:
parent
fb5faaa91e
commit
47ba15f5a1
2 changed files with 0 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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)$
|
||||
|
|
Loading…
Add table
Reference in a new issue