Skip to content

Commit

Permalink
remove <br> tags from <pre> blocks (#36575)
Browse files Browse the repository at this point in the history
  • Loading branch information
argl authored Oct 30, 2024
1 parent b505d75 commit 197a06b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions files/en-us/learn/html/cheatsheet/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,9 @@ an extended quotation.&#x3C;/blockquote></pre
<td>An unordered list</td>
<td>{{HTMLElement("ul")}}</td>
<td id="ul-example">
<pre class="brush: html">&#x3C;ul><br>
&#x3C;li>I'm an item&#x3C;/li><br>
&#x3C;li>I'm another item&#x3C;/li><br>
<pre class="brush: html">&#x3C;ul>
&#x3C;li>I'm an item&#x3C;/li>
&#x3C;li>I'm another item&#x3C;/li>
&#x3C;/ul></pre>
{{EmbedLiveSample("ul-example", 100, 100)}}
</td>
Expand All @@ -302,9 +302,9 @@ an extended quotation.&#x3C;/blockquote></pre
<td>An ordered list</td>
<td>{{HTMLElement("ol")}}</td>
<td id="ol-example">
<pre class="brush: html">&#x3C;ol><br>
&#x3C;li>I'm the first item&#x3C;/li><br>
&#x3C;li>I'm the second item&#x3C;/li><br>
<pre class="brush: html">&#x3C;ol>
&#x3C;li>I'm the first item&#x3C;/li>
&#x3C;li>I'm the second item&#x3C;/li>
&#x3C;/ol></pre>
{{EmbedLiveSample("ol-example", 100, 100)}}
</td>
Expand All @@ -314,7 +314,7 @@ an extended quotation.&#x3C;/blockquote></pre
<td>{{HTMLElement("dl")}}</td>
<td id="dl-example">
<pre class="brush: html">&#x3C;dl>
&#x3C;dt>A Term&#x3C;/dt><br>
&#x3C;dt>A Term&#x3C;/dt>
&#x3C;dd>Definition of a term&#x3C;/dd>
&#x3C;dt>Another Term&#x3C;/dt>
&#x3C;dd>Definition of another term&#x3C;/dd>
Expand Down

0 comments on commit 197a06b

Please sign in to comment.