Skip to content

Commit 592a4ba

Browse files
authored
Update gentle-trains-attack.md
1 parent 9981c66 commit 592a4ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.changeset/gentle-trains-attack.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
'preact-render-to-string': major
33
---
44

5-
Remove trailing space for void_elements
5+
Remove trailing space for void_elements, this could fail some test_assertions as
6+
`<img />` will become `<img/>`, the other `VOID_ELEMENTS` this will be applied for
7+
can be found [here](https://github.com/preactjs/preact-render-to-string/blob/remove-trailing-space/src/index.js#L368-L385)

0 commit comments

Comments
 (0)