From a084ae8996161bb94d69ed18bc1e72152569423c Mon Sep 17 00:00:00 2001 From: chrispy Date: Sat, 17 Feb 2024 08:10:45 -0500 Subject: [PATCH] in index.html metadata, ignore metadata in @keys/@href contexts Signed-off-by: chrispy --- src/main/plugins/org.dita.html5/xsl/get-meta.xsl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/plugins/org.dita.html5/xsl/get-meta.xsl b/src/main/plugins/org.dita.html5/xsl/get-meta.xsl index 9fe933deaa..cee7034951 100644 --- a/src/main/plugins/org.dita.html5/xsl/get-meta.xsl +++ b/src/main/plugins/org.dita.html5/xsl/get-meta.xsl @@ -246,10 +246,11 @@ See the accompanying LICENSE file for applicable license. - + + descendant::*[contains(@class,' map/topicmeta ')][not(ancestor::*[@href or @keys])]/*[contains(@class,' topic/keywords ')]/descendant-or-self::* | + descendant::*[contains(@class,' map/topicmeta ')][not(ancestor::*[@href or @keys])]/*[contains(@class,' topic/metadata ')]/*[contains(@class,' topic/keywords ')]/descendant-or-self::*">