Skip to content

Commit 9b22464

Browse files
committed
Fix quirks.
1 parent aee5841 commit 9b22464

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

converter/generator/DocTransformer.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ internal void Transform(IHtmlDocument document, string sourceFile, in Nav nav, I
275275

276276
private static void CleanUp(IHtmlDocument document)
277277
{
278+
document.Prepend(document.Implementation.CreateDocumentType("html", "", ""));
279+
278280
document.Title = document.QuerySelector("h1")?.Text() ?? "";
279281

280282
document.QuerySelectorAll<IHtmlSpanElement>("span.mw-editsection").Remove();

converter/templates/wwwroot/books/style.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ p {
2929
transform: rotate(90deg);
3030
}
3131

32-
.glyphicon {
33-
line-height: 1.428;
34-
}
35-
3632
.DocContent {
3733
margin-top: 24px;
3834
}

0 commit comments

Comments
 (0)