Skip to content

Commit ae51f28

Browse files
authored
Merge pull request #6952 from kenjis/fix-docs-html-void-elements
docs: remove `/` before right `>` in void HTML elements
2 parents 0f3dd6f + 995ea69 commit ae51f28

4 files changed

Lines changed: 6 additions & 10 deletions

File tree

user_guide_src/source/installation/upgrade_security/ci3sample/002.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
<input name="email" type="text">
1313
<input name="password" type="password">
1414

15-
<input type="hidden" name="<?= $csrf['name'] ?>" value="<?= $csrf['hash'] ?>" />
15+
<input type="hidden" name="<?= $csrf['name'] ?>" value="<?= $csrf['hash'] ?>">
1616
<input type="submit" value="Save">
1717
</form>

user_guide_src/source/libraries/caching/001.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
if (! $foo = cache('foo')) {
4-
echo 'Saving to the cache!<br />';
4+
echo 'Saving to the cache!<br>';
55
$foo = 'foobarbaz!';
66

77
// Save into the cache for 5 minutes

user_guide_src/source/libraries/email/022.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
foreach ($list as $address) {
77
$email->setTo($address);
88
$cid = $email->setAttachmentCID($filename);
9-
$email->setMessage('<img src="cid:' . $cid . '" alt="photo1" />');
9+
$email->setMessage('<img src="cid:' . $cid . '" alt="photo1">');
1010
$email->send();
1111
}

user_guide_src/source/libraries/uploaded_files/001.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,9 @@
1010
<?php endforeach ?>
1111

1212
<?= form_open_multipart('upload/upload') ?>
13-
14-
<input type="file" name="userfile" size="20" />
15-
16-
<br /><br />
17-
18-
<input type="submit" value="upload" />
19-
13+
<input type="file" name="userfile" size="20">
14+
<br><br>
15+
<input type="submit" value="upload">
2016
</form>
2117

2218
</body>

0 commit comments

Comments
 (0)