mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-05-20 14:52:37 -04:00
Add noreferrer noopener on links to external resources for epub reading (#318)
This commit is contained in:
@@ -89,7 +89,8 @@ namespace API.Services
|
||||
}
|
||||
else
|
||||
{
|
||||
anchor.Attributes.Add("target", "_blank");
|
||||
anchor.Attributes.Add("target", "_blank");
|
||||
anchor.Attributes.Add("rel", "noreferrer noopener");
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user