LibMarkdown: Include a <head> element when rendering MD to HTML

This should really be handled by LibHTML, but just include a <head>
element for now, so generated man pages always have a <head>.
This commit is contained in:
Andreas Kling 2019-10-29 21:35:28 +01:00
parent 058c8337df
commit c1efa4f336
Notes: sideshowbarker 2024-07-19 11:30:00 +09:00

View file

@ -11,6 +11,7 @@ String MDDocument::render_to_html() const
builder.append("<!DOCTYPE html>\n");
builder.append("<html>\n");
builder.append("<head></head>\n");
builder.append("<body>\n");
for (auto& block : m_blocks) {