8000 Use shorthand of HTML5 boolean attributes · wimpyprogrammer/strings-to-regex@adc3b14 · GitHub
[go: up one dir, main page]

Skip to content

Commit adc3b14

Browse files
Use shorthand of HTML5 boolean attributes
1 parent 10fef5a commit adc3b14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

demo/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,21 @@
5757
Words/phrases are separated by:
5858
</label>
5959
<select id="delimiter" class="form-control js-delimiter">
60-
<option value="," selected="selected">Comma</option>
60+
<option value="," selected>Comma</option>
6161
<option value=" ">Space</option>
6262
<option value="&#10;">Newline</option>
6363
</select>
6464
</div>
6565

6666
<div class="form-group form-check">
67-
<input type="checkbox" checked="checked" id="case" class="form-check-input js-case">
67+
<input type="checkbox" checked id="case" class="form-check-input js-case">
6868
<label class="form-check-label" for="case">
6969
Case-sensitive
7070
</label>
7171
</div>
7272

7373
<div class="form-group form-check">
74-
<input type="checkbox" checked="checked" id="trim" class="form-check-input js-trim">
74+
<input type="checkbox" checked id="trim" class="form-check-input js-trim">
7575
<label class="form-check-label" for="trim">
7676
Trim whitespace surrounding each word/phrase
7777
</label>

0 commit comments

Comments
 (0)
0