Try pre instead of escaping

This commit is contained in:
Paul W. 2024-10-02 23:03:16 -04:00
parent 13f7f8580e
commit 2324469478
Signed by: lambdapaul
GPG Key ID: 0D207B4EBC14B1BD

View File

@ -37,25 +37,26 @@
} }
} }
``` ```
<pre>
&lt;html&gt; <html>
&lt;head&gt; <head>
&lt;title&gt;HTML Title&lt;/title&gt; <title>HTML Title</title>
&lt;/head&gt; </head>
&lt;body&gt; <body>
&lt;div class="container"&gt; <div class="container">
&lt;div class="article"&gt; <div class="article">
&lt;h1&gt;Hello, world!&lt;/h1&gt; <h1>Hello, world!</h1>
&lt;h6&gt;Goodbye, world!&lt;/h6&gt; <h6>Goodbye, world!</h6>
&lt;div aria-data="idk!"&gt;Yo, what's up!&lt;/div&gt; <div aria-data="idk!">Yo, what's up!</div>
&lt;div&gt; <div>
&lt;a href="http://google.com"&gt;don't be eeeviiiilll&lt;/a&gt; <a href="http://google.com">don't be eeeviiiilll</a>
&lt;a class="button" href=""&gt;This link has a class called 'button'&lt;/a&gt; <a class="button" href="">This link has a class called 'button'</a>
&lt;/div&gt; </div>
&lt;/div&gt; </div>
&lt;img class="img" alt="green texture" src="background.png"&gt; <img class="img" alt="green texture" src="background.png">
&lt;div class="hello" id="lol"&gt;&lt;/div&gt; <div class="hello" id="lol"></div>
Random text Random text
&lt;/div&gt; </div>
&lt;/body&gt; </body>
&lt;/html&gt; </html>
</pre>