Fix head tags order in HTML output (#2080)
This commit is contained in:
@@ -299,10 +299,10 @@ class ToHtml(Tokenizer):
|
||||
"<head>\n"
|
||||
"<meta charset='utf-8'>\n"
|
||||
"<title>{title:s}</title>\n"
|
||||
"</head>\n"
|
||||
"<style>\n"
|
||||
"{style:s}\n"
|
||||
"</style>\n"
|
||||
"</head>\n"
|
||||
"<body>\n"
|
||||
"<article>\n"
|
||||
"{body:s}\n"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<title>Lorem Ipsum</title>
|
||||
</head>
|
||||
<style>
|
||||
body {font-family: 'Arial'; font-size: 12pt; font-weight: 400; font-style: normal;}
|
||||
p {text-align: justify; line-height: 150%; margin-top: 0.00em; margin-bottom: 0.76em;}
|
||||
@@ -22,6 +21,7 @@ mark {background: rgb(255, 255, 166);}
|
||||
.dialog {color: rgb(66, 113, 174);}
|
||||
.altdialog {color: rgb(129, 55, 9);}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<article>
|
||||
<h1 class='title' style='text-align: center;'>Lorem Ipsum</h1>
|
||||
|
||||
@@ -628,10 +628,10 @@ def testCoreToHtml_Save(mockGUI, fncPath):
|
||||
"<head>\n"
|
||||
"<meta charset='utf-8'>\n"
|
||||
"<title></title>\n"
|
||||
"</head>\n"
|
||||
"<style>\n"
|
||||
"{htmlStyle:s}\n"
|
||||
"</style>\n"
|
||||
"</head>\n"
|
||||
"<body>\n"
|
||||
"<article>\n"
|
||||
"{bodyText:s}\n"
|
||||
|
||||
Reference in New Issue
Block a user