mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-25 10:14:56 +01:00
Change default HTML output to HTML5 header.
This commit is contained in:
parent
6dd1cc7daa
commit
ab5c930248
1 changed files with 2 additions and 4 deletions
|
|
@ -33,9 +33,8 @@ class HTMLWriter(BaseStoryWriter):
|
|||
def __init__(self, config, story):
|
||||
BaseStoryWriter.__init__(self, config, story)
|
||||
|
||||
self.HTML_FILE_START = string.Template('''<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
self.HTML_FILE_START = string.Template('''<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>${title} by ${author}</title>
|
||||
<style type="text/css">
|
||||
|
|
@ -87,7 +86,6 @@ ${output_css}
|
|||
|
||||
|
||||
def writeStoryImpl(self, out):
|
||||
|
||||
if self.hasConfig("cover_content"):
|
||||
COVER = string.Template(self.getConfig("cover_content"))
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue