Skip to content

Commit ae52a37

Browse files
flxy1028fangl
andauthored
test: edge case for decodeHtmlBrowser (#11339)
Co-authored-by: unknown <[email protected]>
1 parent fc205bf commit ae52a37

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/compiler-dom/__tests__/decoderHtmlBrowser.spec.ts

+6
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,11 @@ describe('decodeHtmlBrowser', () => {
4040
true,
4141
),
4242
).toBe('<strong><strong>&</strong></strong>')
43+
expect(decodeHtmlBrowser('"', true)).toBe(
44+
'"',
45+
)
46+
expect(decodeHtmlBrowser("'", true)).toBe(
47+
"'",
48+
)
4349
})
4450
})

0 commit comments

Comments
 (0)