forgot about html_constants

This commit is contained in:
sigizmund 2009-12-17 15:18:31 +00:00
parent 59697f1a75
commit 2352ba6dfc

17
html_constants.py Normal file
View file

@ -0,0 +1,17 @@
XHTML_START = '''<?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">
<head>
<title>${title} by ${author}</title>
<link href="stylesheet.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div>
<h1>${title} by ${author}</h1>
${body}
</body></html>
'''
XHTML_CHAPTER_START = '''<h2>${chapter}</h2>'''
XHTML_END = ''''''