Escape HTML

This commit is contained in:
Paul W. 2024-10-02 23:01:12 -04:00
parent 5ad68667e2
commit 13f7f8580e
Signed by: lambdapaul
GPG Key ID: 0D207B4EBC14B1BD

View File

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