Skip to content

Commit

Permalink
In model doc gen, do not mark recursive assemblies empty (#234)
Browse files Browse the repository at this point in the history
See more details about analysis and PR changes below:

#225 (comment)

Co-authored-by: Wendell Piez <[email protected]>
  • Loading branch information
2 people authored and david-waltermire committed Dec 7, 2022
1 parent 80ba4bd commit 7f4571b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions toolchains/xslt-M4/document/xml/element-map-html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,10 @@ div.OM-map p { margin: 0ex }
</details>
</xsl:template>

<xsl:template match="m:element[empty(* except (m:attribute|m:value))]">
<xsl:template match="m:element[(@recursive='true') or empty(* except (m:attribute|m:value))]">
<div class="OM-entry">
<p class="OM-line">
<!--<div class="OM-flex">-->
<xsl:call-template name="summary-line-content"/>
<!--</div>-->
</p>
</div>
</xsl:template>
Expand Down

0 comments on commit 7f4571b

Please sign in to comment.