Skip to content

Commit f2865aa

Browse files
committed
Upgrade guide: Fix a typo
1 parent 3e5d32d commit f2865aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/upgrade-guide/3.5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jQuery 3.5.0 has changed `jQuery.htmlPrefilter` to be an identity function. That
4545
</div>
4646
```
4747

48-
To avoid this, don't use self-closing tags for tags that may have content unless you page runs in XHTML mode. Make sure you're sending a correct mime type: `application/xhtml+xml`; otherwise, your page will really run in HTML mode.
48+
To avoid this, don't use self-closing tags for tags that may have content unless your page runs in XHTML mode. Make sure you're sending a correct mime type: `application/xhtml+xml`; otherwise, your page will really run in HTML mode.
4949

5050
If you're writing a library and you want it to work both in HTML & XHTML modes, remember to use self-closing tags for empty elements, i.e. ones that don't have closing tags in HTML. For example, instead of:
5151
```js

0 commit comments

Comments
 (0)