mirror of https://github.com/kiwix/libkiwix.git
Merge pull request #335 from kiwix/fix_taskbar
attach taskbar to <head> instead of <head>\n
This commit is contained in:
commit
375792a686
|
@ -117,7 +117,7 @@ void Response::introduce_taskbar()
|
||||||
auto head_content = render_template(RESOURCE::templates::head_part_html, data);
|
auto head_content = render_template(RESOURCE::templates::head_part_html, data);
|
||||||
m_content = appendToFirstOccurence(
|
m_content = appendToFirstOccurence(
|
||||||
m_content,
|
m_content,
|
||||||
"<head>\n",
|
"<head>",
|
||||||
head_content);
|
head_content);
|
||||||
|
|
||||||
auto taskbar_part = render_template(RESOURCE::templates::taskbar_part_html, data);
|
auto taskbar_part = render_template(RESOURCE::templates::taskbar_part_html, data);
|
||||||
|
@ -135,7 +135,7 @@ void Response::inject_externallinks_blocker()
|
||||||
auto script_tag = render_template(RESOURCE::templates::external_blocker_part_html, data);
|
auto script_tag = render_template(RESOURCE::templates::external_blocker_part_html, data);
|
||||||
m_content = appendToFirstOccurence(
|
m_content = appendToFirstOccurence(
|
||||||
m_content,
|
m_content,
|
||||||
"<head>\n",
|
"<head>",
|
||||||
script_tag);
|
script_tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue