From e09f24958939ec8cd5a1805a6fe1999e19b8e694 Mon Sep 17 00:00:00 2001 From: Gaston Robledo Date: Tue, 16 Jul 2024 09:10:38 -0300 Subject: [PATCH] omit script extraction from i18n objects --- packages/mdctl-core/streams/section.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mdctl-core/streams/section.js b/packages/mdctl-core/streams/section.js index 64087a65..212b26f9 100644 --- a/packages/mdctl-core/streams/section.js +++ b/packages/mdctl-core/streams/section.js @@ -238,7 +238,7 @@ class ExportSection { nodes = jp.nodes(content, '$..script') // Exclude script extraction to all instance data. - if (isCustomName(content.object)) { + if (isCustomName(content.object) || content.object === 'i18n') { return }