3 Commits

Author SHA1 Message Date
Chris Bracco
714dc01c78 v0.9.7 2021-04-19 11:48:23 -04:00
Chris Bracco
9d912a6d7d Merge pull request #40 from ConnorJamesLow/patch-1
Close option tags in datalist
2021-04-19 11:46:58 -04:00
Connor Low
8983ac1be5 Close option tags in datalist
While your browser might be smart enough to figure it out, `<option>` tags can have children and need to be closed. Some apps/servers will have trouble with it otherwise (for example, this caused vitejs to crash).
2021-04-17 21:06:17 -07:00
3 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
# 0.9.7 (April 3, 2021)
- Self-close option tags (thanks @ConnorJamesLow!).
# 0.9.6 (April 3, 2021)
- Remove classes and valid/invalid inputs.

View File

@@ -521,9 +521,9 @@
<label for="idl">Datalist</label>
<input type="text" id="idl" list="example-list">
<datalist id="example-list">
<option value="Example #1">
<option value="Example #2">
<option value="Example #3">
<option value="Example #1" />
<option value="Example #2" />
<option value="Example #3" />
</datalist>
</p>
</fieldset>

View File

@@ -1,6 +1,6 @@
{
"name": "html5-test-page",
"version": "0.9.6",
"version": "0.9.7",
"description": "A page filled with common HTML elements to be used for testing purposes.",
"main": "index.html",
"scripts": {