Skip to content

Commit

Permalink
Output step elements as block containers #42
Browse files Browse the repository at this point in the history
  • Loading branch information
jelovirt committed Feb 2, 2019
1 parent c8a529a commit 5de7ed9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/main/resources/task.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ See the accompanying LICENSE file for applicable license.
</para>
</xsl:template>

<xsl:template match="*[contains(@class, ' task/info ')] |
*[contains(@class, ' task/stepresult ')] |
*[contains(@class, ' task/stepxmp ')] |
*[contains(@class, ' task/tutorialinfo ')] |
*[contains(@class, ' task/steptroubleshooting ')]">
<div>
<xsl:call-template name="commonattributes"/>
<xsl:call-template name="setidaname"/>
<xsl:apply-templates/>
</div>
</xsl:template>

<xsl:template match="*[contains(@class, ' task/steps ')]" name="task.steps">
<xsl:apply-templates select="." mode="generate-task-label">
<xsl:with-param name="use-label">
Expand Down

0 comments on commit 5de7ed9

Please sign in to comment.