Skip to content

Commit b4eea8d

Browse files
author
Boris van Katwijk
committed
[BUGFIX][IN23-254] Avoid using closing slash with void tags.
FILE: /data/web/magento2/lib/experius/module-postcode/view/frontend/web/js/view/form/postcode.js ------------------------ FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE ------------------------ 1 | WARNING | Avoid using closing slash with void tags, this can lead to unexpected behavior - "<br/>" 1 | WARNING | Avoid using closing slash with void tags, this can lead to unexpected behavior - "<br/>" ------------------------ FILE: /data/web/magento2/lib/experius/module-postcode/view/frontend/web/template/form/element/housenumber.html ------------------------ FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------ 1 | WARNING | Avoid using closing slash with void tags, this can lead to unexpected behavior - "<input class="input-text" type="number" data-bind=" | | value: value, | | valueUpdate: 'keyup', | | hasFocus: focused, | | attr: { | | name: inputName, | | placeholder: placeholder, | | 'aria-describedby': getDescriptionId(), | | 'aria-required': required, | | 'aria-invalid': error() ? true : 'false', | | id: uid, | | disabled: disabled | | }" | | pattern="[0-9]*" />" ------------------------
1 parent 4a830dd commit b4eea8d

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## 1.11.2 (2023-10-30)
2+
3+
[View Release]([email protected]:experius/Magento-2-Module-Experius-Postcode-NL.git/commits/tag/1.11.2)
4+
5+
* [BUGFIX][IN23-254] Avoid using closing slash with void tags. *(Boris van Katwijk)*
6+
7+
8+
## 1.11.1 (2023-07-12)
9+
10+
[View Release]([email protected]:experius/Magento-2-Module-Experius-Postcode-NL.git/commits/tag/1.11.1)
11+
12+
* Update LicenceCheck.php *(mhaagen85)*
13+
14+
115
## 1.11.0 (2022-10-17)
216

317
[View Release]([email protected]:experius/Magento-2-Module-Experius-Postcode-NL.git/commits/tag/1.11.0)

view/frontend/web/js/view/form/postcode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ define([
489489
});
490490

491491
if (address.postcode) {
492-
preview += "<br/>" + address.postcode + "<br/>";
492+
preview += "<br>" + address.postcode + "<br>";
493493
}
494494

495495
if (address.city) {

view/frontend/web/template/form/element/housenumber.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
id: uid,
1212
disabled: disabled
1313
}"
14-
pattern="[0-9]*" />
14+
pattern="[0-9]*">

0 commit comments

Comments
 (0)