3
0
Fork 0

fix static resources on home page when using --nosearchbar

fix-bug-pid
Philip Munaawa 8 years ago
parent 773b9e5443
commit c00f0be7ef

@ -161,9 +161,9 @@ void introduceTaskbar(string& content, const string& humanReadableBookId)
humanReadableBookId, humanReadableBookId,
"__CONTENT__")); "__CONTENT__"));
} }
content = replaceRegex(content, rootLocation, "__ROOT_LOCATION__");
content = replaceRegex(content, replaceRegex(humanReadableBookId, "%26", "&"), "__CONTENT_ESCAPED__"); content = replaceRegex(content, replaceRegex(humanReadableBookId, "%26", "&"), "__CONTENT_ESCAPED__");
} }
content = replaceRegex(content, rootLocation, "__ROOT_LOCATION__");
pthread_mutex_unlock(&regexLock); pthread_mutex_unlock(&regexLock);
} }

Loading…
Cancel
Save