Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit c8b7c16

Browse files
authored
fix(jqLite): improve documentation
1 parent 05cf606 commit c8b7c16

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/jqLite.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@
9090
* - [`val()`](http://api.jquery.com/val/)
9191
* - [`wrap()`](http://api.jquery.com/wrap/)
9292
*
93-
* jqLite also provides a method restoring pre-1.8 insecure treatment of XHTML-like tags
94-
* that makes input like `<div /><span />` turned to `<div></div><span></span>` instead of
95-
* `<div><span></span></div>` like version 1.8 & newer do:
93+
* jqLite also provides a method restoring pre-1.8 insecure treatment of XHTML-like tags.
94+
* This legacy behavior turns input like `<div /><span />` to `<div></div><span></span>`
95+
* instead of `<div><span></span></div>` like version 1.8 & newer do. To restore it, invoke:
9696
* ```js
9797
* angular.UNSAFE_restoreLegacyJqLiteXHTMLReplacement();
9898
* ```

0 commit comments

Comments
 (0)