Skip to content

Commit

Permalink
Fix taskbar insertion in case of '<head>' attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
kelson42 committed Jan 11, 2021
1 parent 18afa97 commit edc5bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/response.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ void ContentResponse::introduce_taskbar()
auto head_content = render_template(RESOURCE::templates::head_part_html, data);
m_content = appendToFirstOccurence(
m_content,
"<head>",
"<head[^>]*>",
head_content);

auto taskbar_part = render_template(RESOURCE::templates::taskbar_part_html, data);
Expand Down

0 comments on commit edc5bc9

Please sign in to comment.