Skip to content

Commit

Permalink
Merge pull request oasis-tcs#239 from robander/typofix
Browse files Browse the repository at this point in the history
Escape ampersand in codeblock sample
  • Loading branch information
robander authored Jun 13, 2023
2 parents 0417478 + e3a2908 commit f1139a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specification/langRef/technicalContent/codeblock.dita
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
<p>The following code sample shows how the <xmlelement>codeblock</xmlelement> element can be
used to <ph rev="review-c">tag an excerpt from an XSLT stylesheet:</ph></p>
<codeblock rev="review-c" base="ci-xml"><b>&lt;codeblock></b>
&lt;xsl:template match="*[contains(@outputclass,'green')]">
&lt;xsl:attribute name="color">#006400;&lt;/xsl:attribute>
&lt;/xsl:template>
&amp;lt;xsl:template match="*[contains(@outputclass,'green')]">
&amp;lt;xsl:attribute name="color">#006400;&amp;lt;/xsl:attribute>
&amp;lt;/xsl:template>
<b>&lt;/codeblock></b></codeblock>
<p rev="review-c">For a sample of how this element can be combined with
<xmlelement>coderef</xmlelement> to embed external code samples, see <xref
Expand Down

0 comments on commit f1139a7

Please sign in to comment.