also replace __CONTENT_ESCAPED__ for --nosearchbar

This commit is contained in:
Philip Munaawa 2018-04-24 13:06:46 +01:00
parent c00f0be7ef
commit 4433421c48

View File

@ -161,9 +161,9 @@ void introduceTaskbar(string& content, const string& humanReadableBookId)
humanReadableBookId,
"__CONTENT__"));
}
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(&regexLock);
}