1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:17:36 +00:00

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

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) {