mirror of
https://github.com/kiwix/libkiwix.git
synced 2026-10-22 17:15:18 -04:00
Better Kiwix Serve Taskbar insertion (after charset definition)
This commit is contained in:
1 parent
a61c94ef10
commit
a8bf9dd5b4
3 files changed
+24
-2
No files matched your search
@@ -203,9 +203,9 @@ void ContentResponse::introduce_taskbar()
|
||||
data.set("title", m_bookTitle);
|
||||
data.set("withlibrarybutton", m_withLibraryButton);
|
||||
auto head_content = render_template(RESOURCE::templates::head_part_html, data);
|
||||
m_content = appendToFirstOccurence(
|
||||
m_content = prependToFirstOccurence(
|
||||
m_content,
|
||||
"<head[^>]*>",
|
||||
"</head[^>]*>",
|
||||
head_content);
|
||||
|
||||
auto taskbar_part = render_template(RESOURCE::templates::taskbar_part_html, data);
|
||||
|
||||
Reference in new issue
Block a user