Skip to content

Commit

Permalink
Add: show descriptions of command elements
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmundell authored and timopollmeier committed Dec 12, 2023
1 parent 945224b commit 85817e7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/schema_formats/HTML/HTML.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<xsl:apply-templates select="filter_keywords"/>
<xsl:if test="description">
<div style="margin-left: 10px; padding: 0 0 3px 5px;">
<i>
<b>More Details</b>
</i>
<i>More Details</i>
<div style="margin-left: 10px; padding-left: 10px;">
<xsl:value-of select="normalize-space(description)"/>
</div>
Expand Down Expand Up @@ -507,6 +505,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</xsl:call-template>
</xsl:for-each>
</ul>
<xsl:if test="$new-line-element/description">
<div style="margin-left: 20px; padding: 0 0 3px 5px;">
<i>More Details</i>
<div style="margin-left: 10px; padding-left: 10px;">
<xsl:value-of select="normalize-space($new-line-element/description)"/>
</div>
</div>
</xsl:if>
</xsl:when>
<xsl:otherwise>
<xsl:variable name="global-element"
Expand Down

0 comments on commit 85817e7

Please sign in to comment.