Skip to content

Commit

Permalink
test: edge case for decodeHtmlBrowser (#11339)
Browse files Browse the repository at this point in the history
Co-authored-by: unknown <fangliang@qq.com>
  • Loading branch information
flxy1028 and fangl authored Jul 15, 2024
1 parent fc205bf commit ae52a37
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/compiler-dom/__tests__/decoderHtmlBrowser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,11 @@ describe('decodeHtmlBrowser', () => {
true,
),
).toBe('<strong><strong>&</strong></strong>')
expect(decodeHtmlBrowser('"', true)).toBe(
'"',
)
expect(decodeHtmlBrowser("'", true)).toBe(
"'",
)
})
})

0 comments on commit ae52a37

Please sign in to comment.