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::*">