mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-22 11:22:38 -04:00
Merge pull request #187 from swiftugandan/kiwix_serve-fix-global_page_static_resources-1
fix static resources on home page when using --nosearchbar
This commit is contained in:
commit
26da54f9c3
@ -161,9 +161,9 @@ void introduceTaskbar(string& content, const string& humanReadableBookId)
|
||||
humanReadableBookId,
|
||||
"__CONTENT__"));
|
||||
}
|
||||
content = replaceRegex(content, rootLocation, "__ROOT_LOCATION__");
|
||||
content = replaceRegex(content, replaceRegex(humanReadableBookId, "%26", "&"), "__CONTENT_ESCAPED__");
|
||||
}
|
||||
content = replaceRegex(content, rootLocation, "__ROOT_LOCATION__");
|
||||
content = replaceRegex(content, replaceRegex(humanReadableBookId, "%26", "&"), "__CONTENT_ESCAPED__");
|
||||
pthread_mutex_unlock(®exLock);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user