You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/08/21 16:12:41 UTC

(superset) 07/07: style(core): apply oxfmt formatting to html.test.tsx

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch fix/sqllab-autorun-and-html-rendering-defaults
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 977cfec1b3838ce3b7c679170830f817320d31cd
Author: Superset Dev <de...@superset.apache.org>
AuthorDate: Fri Aug 21 01:38:22 2026 -0700

    style(core): apply oxfmt formatting to html.test.tsx
    
    Co-Authored-By: Claude Sonnet 5 <no...@anthropic.com>
---
 superset-frontend/packages/superset-ui-core/src/utils/html.test.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/superset-frontend/packages/superset-ui-core/src/utils/html.test.tsx b/superset-frontend/packages/superset-ui-core/src/utils/html.test.tsx
index 95130a63c35..36b63091a91 100644
--- a/superset-frontend/packages/superset-ui-core/src/utils/html.test.tsx
+++ b/superset-frontend/packages/superset-ui-core/src/utils/html.test.tsx
@@ -127,9 +127,9 @@ describe('isProbablyHTML', () => {
   test('should return true for script-capable and foreign-content tags', () => {
     expect(isProbablyHTML('<svg onload="alert(1)"></svg>')).toBe(true);
     expect(isProbablyHTML('<math><mi>x</mi></math>')).toBe(true);
-    expect(isProbablyHTML('<details open ontoggle="alert(1)">x</details>')).toBe(
-      true,
-    );
+    expect(
+      isProbablyHTML('<details open ontoggle="alert(1)">x</details>'),
+    ).toBe(true);
     expect(isProbablyHTML('<summary>x</summary>')).toBe(true);
     expect(isProbablyHTML('<object data="x"></object>')).toBe(true);
     expect(isProbablyHTML('<embed src="x">')).toBe(true);