@instructure/platform-sanitize 0.5.2 → 0.5.3
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/dist/index.js +5 -0
- package/dist/sanitizeHtml.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -116,6 +116,11 @@ const y = /* @__PURE__ */ new Set([
|
|
|
116
116
|
"text-decoration",
|
|
117
117
|
"text-indent",
|
|
118
118
|
"white-space",
|
|
119
|
+
// Chrome's CSSOM expands `white-space` to these longhands when iterating
|
|
120
|
+
// element.style — the shorthand never appears in the iterator, so the hook
|
|
121
|
+
// would strip them unless listed explicitly (same as border-radius below).
|
|
122
|
+
"white-space-collapse",
|
|
123
|
+
"text-wrap-mode",
|
|
119
124
|
"vertical-align",
|
|
120
125
|
"text-transform",
|
|
121
126
|
"letter-spacing",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sanitizeHtml.d.ts","sourceRoot":"","sources":["../src/sanitizeHtml.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sanitizeHtml.d.ts","sourceRoot":"","sources":["../src/sanitizeHtml.ts"],"names":[],"mappings":"AA8mBA,wBAAgB,YAAY,CAC1B,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC/B,OAAO,CAAC,EAAE;IAAE,uBAAuB,CAAC,EAAE,OAAO,CAAA;CAAE,GAC9C,MAAM,CASR"}
|