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:
parent
058c8337df
commit
c1efa4f336
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue