Unverified Commit bafe7455 authored by pennae's avatar pennae Committed by GitHub
Browse files

Merge pull request #239986 from pennae/reattach-head

nixos-render-docs: add missing head tag to html output
parents 6c112fb5 03ca5a47
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -304,6 +304,7 @@ class ManualHTMLRenderer(RendererMixin, HTMLRenderer):
            '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"',
            '  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
            '<html xmlns="http://www.w3.org/1999/xhtml">',
            ' <head>',
            '  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />',
            f' <title>{toc.target.title}</title>',
            "".join((f'<link rel="stylesheet" type="text/css" href="{html.escape(style, True)}" />'