@libs-ui/pipes-escape-html 0.2.357-7 → 0.2.357-9
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/README.md +1 -9
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -213,7 +213,7 @@ pipe.transform('');
|
|
|
213
213
|
| `>` | `>` |
|
|
214
214
|
| `&` | `&` |
|
|
215
215
|
| `"` | `"` |
|
|
216
|
-
| `'` | `&#
|
|
216
|
+
| `'` | `'` |
|
|
217
217
|
|
|
218
218
|
## Lưu ý quan trọng
|
|
219
219
|
|
|
@@ -223,14 +223,6 @@ pipe.transform('');
|
|
|
223
223
|
|
|
224
224
|
⚠️ **Không dùng pipe này để sanitize HTML cho phép render**: Nếu cần cho phép một số HTML tags an toàn (bold, italic...) mà vẫn block XSS, dùng `xssFilter` từ `@libs-ui/utils` thay vì pipe này.
|
|
225
225
|
|
|
226
|
-
## Demo
|
|
227
|
-
|
|
228
|
-
```bash
|
|
229
|
-
npx nx serve core-ui
|
|
230
|
-
```
|
|
231
|
-
|
|
232
|
-
Truy cập: http://localhost:4500/pipes/escape-html
|
|
233
|
-
|
|
234
226
|
## Unit Tests
|
|
235
227
|
|
|
236
228
|
```bash
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libs-ui/pipes-escape-html",
|
|
3
|
-
"version": "0.2.357-
|
|
3
|
+
"version": "0.2.357-9",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/core": ">=18.0.0",
|
|
6
|
-
"@libs-ui/utils": "0.2.357-
|
|
6
|
+
"@libs-ui/utils": "0.2.357-9"
|
|
7
7
|
},
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"module": "fesm2022/libs-ui-pipes-escape-html.mjs",
|