changed method of injecting root link

This commit is contained in:
Manan Jethwani 2021-03-24 14:17:58 +05:30
parent d061697de7
commit 7872734f44
1 changed files with 1 additions and 1 deletions

View File

@ -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 + "\">");
}