changed method of injecting root link
This commit is contained in:
Kelson 2021-03-24 10:20:54 +01:00 committed by GitHub
commit 803cb1c2c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 + "\">");
}