reps defect 42
This commit is contained in:
@@ -590,6 +590,7 @@ export const updateLinks = (jsonObj) => {
|
|||||||
const anchor = document.createElement("a");
|
const anchor = document.createElement("a");
|
||||||
anchor.href = fullUrl;
|
anchor.href = fullUrl;
|
||||||
anchor.textContent = match[0];
|
anchor.textContent = match[0];
|
||||||
|
anchor.target = "_blank";
|
||||||
anchor.setAttribute("rel", "noopener noreferrer");
|
anchor.setAttribute("rel", "noopener noreferrer");
|
||||||
|
|
||||||
// Add the anchor tag to the node content
|
// Add the anchor tag to the node content
|
||||||
|
|||||||
Reference in New Issue
Block a user