From 3ea443734b5069d32fc2f11f5adad3441b5a69c3 Mon Sep 17 00:00:00 2001
From: Tisats <61549618+Tisats@users.noreply.github.com>
Date: Wed, 11 Jun 2025 09:13:30 +0100
Subject: [PATCH] Update main.ts
refactor: Use plain text in 'Used By' table for graph clarity
---
main.ts | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/main.ts b/main.ts
index 257d34e..f81bcc5 100644
--- a/main.ts
+++ b/main.ts
@@ -1177,8 +1177,7 @@ export default class ProcessorProcessorPlugin extends Plugin {
const markdownPrimaryAlias = primaryOriginalName.replace(/\n/g, ' ').replace(/[\[\]()|]/g, '');
// Using the corrected Markdown link format for tables
- const primaryLinkTarget = encodeURI(`${this.settings.processorsFolderPath}/${primaryFilePathName}.md`);
- const primaryProcessorLink = `[${markdownPrimaryAlias}](${primaryLinkTarget})`;
+ const primaryProcessorNameAsPlainText = markdownPrimaryAlias;
const processingFunctionDisplay = (rel.ProcessingFunction || "N/A").replace(/\n/g, "
").replace(/\|/g, "\\|");
const locationDisplay = (rel.Location || "N/A").replace(/\n/g, "
").replace(/\|/g, "\\|");