@wordpress/escape-html 2.30.0 → 2.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +2 -7
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -18,10 +18,7 @@ _This package assumes that your code will run in an **ES2015+** environment. If
|
|
|
18
18
|
|
|
19
19
|
### escapeAmpersand
|
|
20
20
|
|
|
21
|
-
Returns a string with ampersands escaped. Note that this is an imperfect
|
|
22
|
-
implementation, where only ampersands which do not appear as a pattern of
|
|
23
|
-
named, decimal, or hexadecimal character references are escaped. Invalid
|
|
24
|
-
named references (i.e. ambiguous ampersand) are still permitted.
|
|
21
|
+
Returns a string with ampersands escaped. Note that this is an imperfect implementation, where only ampersands which do not appear as a pattern of named, decimal, or hexadecimal character references are escaped. Invalid named references (i.e. ambiguous ampersand) are still permitted.
|
|
25
22
|
|
|
26
23
|
_Related_
|
|
27
24
|
|
|
@@ -64,9 +61,7 @@ _Returns_
|
|
|
64
61
|
|
|
65
62
|
### escapeEditableHTML
|
|
66
63
|
|
|
67
|
-
Returns an escaped Editable HTML element value. This is different from
|
|
68
|
-
`escapeHTML`, because for editable HTML, ALL ampersands must be escaped in
|
|
69
|
-
order to render the content correctly on the page.
|
|
64
|
+
Returns an escaped Editable HTML element value. This is different from `escapeHTML`, because for editable HTML, ALL ampersands must be escaped in order to render the content correctly on the page.
|
|
70
65
|
|
|
71
66
|
_Parameters_
|
|
72
67
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/escape-html",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.32.0",
|
|
4
4
|
"description": "Escape HTML utils.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "6df0c62d43b8901414ccd22ffbe56eaa99d012a6"
|
|
36
36
|
}
|