PluginProbe
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance / trunk
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance vtrunk
4.7.0 4.6.1 4.6.0 4.5.5 4.5.4 4.5.3 4.5.2 3.2.20 3.2.21 3.2.22 3.2.3 3.2.5 3.2.6 3.2.7 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 3.7.0 3.7.1 All 111 releases
← All changes | vendor/team-updraft/lib-onboarding-wizard/Wizard/Onboarding/src/utils/html.tsx +1 -1 4.6.0 → trunk View file →
@@ -1,7 +1,7 @@
1 1 import * as DOMPurify from "isomorphic-dompurify";
2 2
3 -const isLikelyHtml = (s: string) => /<[^>]+>/.test(s);
3 +export const isLikelyHtml = (s: string) => /<[^>]+>/.test(s);
4 4
5 5 const sanitizeHtml = (dirty: string, custom?: (dirty: string) => string) => {
6 6 if (custom) {
7 7 return custom(dirty);