Skip to content

Commit b0f6543

Browse files
author
p12
committed
Preprocess: Fix the removal of 'noprint' elements
1 parent 54a4931 commit b0f6543

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

preprocess.xsl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@
3535
</xsl:template>
3636

3737
<!-- remove useless UI elements-->
38-
<xsl:template match="//div[@class='noprint']"/>
39-
<xsl:template match="//span[@class='noprint']"/>
38+
<xsl:template match="//*[contains(@class, 'noprint ')]"/>
39+
<xsl:template match="//*[contains(@class, ' noprint')]"/>
40+
<xsl:template match="//*[@class='noprint']"/>
4041

4142
<!-- remove 'See also' links between C and C++ parts of the documentation -->
4243
<xsl:template match="

0 commit comments

Comments
 (0)