From 9851daac09e660d1c35ba762d6092c96b5f60c4e Mon Sep 17 00:00:00 2001 From: Vaibhav sasulkar Date: Fri, 11 Oct 2024 19:31:54 +0530 Subject: [PATCH] remove do follow code revert --- scripts/scripts.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/scripts/scripts.js b/scripts/scripts.js index 92f138675c..ebee22f6f5 100644 --- a/scripts/scripts.js +++ b/scripts/scripts.js @@ -541,16 +541,6 @@ export function decorateAnchorTag(main) { }); }); } - - // Rel Tags - if(anchor.textContent.trim().includes("~")){ - let mainAnchor = anchor.textContent.trim().split('~'); - anchor.innerText = mainAnchor[0]; - anchor.setAttribute('title', mainAnchor[0]); - let relTags = mainAnchor[1].replace(',', " "); - anchor.setAttribute('rel', relTags); - } - }); } catch (error) { console.warn(error);