mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Add noreferrer noopener on links to external resources for epub reading (#318)
This commit is contained in:
parent
0c88d91278
commit
8f4d42d13f
@ -90,6 +90,7 @@ namespace API.Services
|
||||
else
|
||||
{
|
||||
anchor.Attributes.Add("target", "_blank");
|
||||
anchor.Attributes.Add("rel", "noreferrer noopener");
|
||||
}
|
||||
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user