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

Lines changed: 3 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy