From 8a7b0e3cb5a0f132c4d200a22476892c2549d800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20Sim=C3=B5es?= Date: Sat, 27 May 2023 19:56:23 -0500 Subject: [PATCH] Conditionally remove @UUID link labels on extract Labels are removed when they are identical to their respective document names --- build/lib/extractor.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build/lib/extractor.ts b/build/lib/extractor.ts index 7a5db4128c5..7ee0972818d 100644 --- a/build/lib/extractor.ts +++ b/build/lib/extractor.ts @@ -234,8 +234,10 @@ class PackExtractor { return partiallyConverted; } - const replacePattern = new RegExp(`(?