mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-09-08 22:58:03 -04:00
Merge pull request #476 from MananJethwani/correcting#474
changed method of injecting root link
This commit is contained in:
commit
803cb1c2c5
@ -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 + "\">");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user