Skip to content

Commit

Permalink
Restored broken links from flags to their fields/assemblies.
Browse files Browse the repository at this point in the history
  • Loading branch information
wendellpiez authored and david-waltermire committed Dec 19, 2019
1 parent c7bc94f commit 7022241
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/metaschema/lib/metaschema-jsondocs-hugo-uswds.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<xsl:apply-templates select="allowed-values"/>
<xsl:for-each-group select="key('references',@name)/parent::*" group-by="true()">
<p><xsl:text>Appears as a property on: </xsl:text>
<xsl:for-each-group select="current-group()" group-by="@ref">
<xsl:for-each-group select="current-group()" group-by="(@ref|@name)">
<xsl:if test="position() gt 1 and last() ne 2">, </xsl:if>
<xsl:if test="position() gt 1 and position() eq last()"> and </xsl:if>
<xsl:apply-templates select="." mode="link-here"/>
Expand Down
2 changes: 1 addition & 1 deletion build/metaschema/lib/metaschema-xmldocs-hugo-uswds.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<xsl:apply-templates select="allowed-values"/>
<xsl:for-each-group select="key('references',@name)/parent::*" group-by="true()">
<p><xsl:text>This attribute appears on: </xsl:text>
<xsl:for-each-group select="current-group()" group-by="@ref">
<xsl:for-each-group select="current-group()" group-by="(@ref|@name)">
<xsl:if test="position() gt 1 and last() ne 2">, </xsl:if>
<xsl:if test="position() gt 1 and position() eq last()"> and </xsl:if>
<xsl:apply-templates select="." mode="link-here"/>
Expand Down

0 comments on commit 7022241

Please sign in to comment.