mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-27 21:39:37 +00:00
changed method of injecting root link
This commit is contained in:
@ -230,7 +230,7 @@ void ContentResponse::inject_externallinks_blocker()
|
||||
void ContentResponse::inject_root_link(){
|
||||
m_content = prependToFirstOccurence(
|
||||
m_content,
|
||||
"<head[ \\t]*>",
|
||||
"</head[ \\t]*>",
|
||||
"<link type=\"root\" href=\"" + m_root + "\">");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user