3
0
Fork 0

+ small fix

small_fixes
kelson42 16 years ago
parent 449e1346f0
commit 5d4d8dea5b

@ -192,7 +192,7 @@ static int accessHandlerCallback(void *cls,
} }
/* Rewrite the content (add the search box) */ /* Rewrite the content (add the search box) */
if (hasSearchIndex && mimeType.find("text/html")) { if (hasSearchIndex && mimeType.find("text/html") != string::npos) {
appendToFirstOccurence(content, "<head>", HTMLScripts); appendToFirstOccurence(content, "<head>", HTMLScripts);
appendToFirstOccurence(content, "<body[^>]*>", HTMLDiv); appendToFirstOccurence(content, "<body[^>]*>", HTMLDiv);
contentLength = content.size(); contentLength = content.size();

Loading…
Cancel
Save