Add noreferrer noopener on links to external resources for epub reading (#318)

This commit is contained in:
Joseph Milazzo
2021-06-20 15:15:34 -05:00
committed by GitHub
parent 0c88d91278
commit 8f4d42d13f
+2 -1
View File
@@ -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;