Skip to content

Commit

Permalink
Merge pull request #476 from MananJethwani/correcting#474
Browse files Browse the repository at this point in the history
changed method of injecting root link
  • Loading branch information
kelson42 authored Mar 24, 2021
2 parents d061697 + 7872734 commit 803cb1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/response.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 + "\">");
}

Expand Down

0 comments on commit 803cb1c

Please sign in to comment.