Skip to content

Commit 80f9034

Browse files
committed
Add spaces between publisher elements
Signed-off-by: Jason Fox <[email protected]>
1 parent 123c832 commit 80f9034

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

xsl/dublin-core.xsl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,13 @@ See the accompanying LICENSE file for applicable license.
8787

8888
<!-- INTELLECTUAL PROPERTY: Publisher - prolog/publisher -->
8989
<xsl:template match="*[contains(@class,' topic/publisher ')]" mode="gen-metadata">
90-
<meta name="DC.publisher" content="{normalize-space(.)}"/>
90+
<xsl:variable name="text">
91+
<xsl:for-each select="*">
92+
<xsl:value-of select="normalize-space(.)"/>
93+
<xsl:text> </xsl:text>
94+
</xsl:for-each>
95+
</xsl:variable>
96+
<meta name="DC.publisher" content="{normalize-space($text)}"/>
9197
</xsl:template>
9298

9399
<!-- Usage Rights - prolog/permissions -->

0 commit comments

Comments
 (0)