fix: decode numerically encoded html entities in text
This commit is contained in:
parent
408aff20ee
commit
4146915a33
2 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`html-parse > code frame > html 1`] = `
|
||||
"<p>Testing code block</p><p><pre><code class=\\"language-ts\\">import { useMouse, usePreferredDark } from '@vueuse/core'
|
||||
"<p>Testing code block</p><p><pre><code class=\\"language-ts\\">import { useMouse, usePreferredDark } from '@vueuse/core'
|
||||
// tracks mouse position
|
||||
const { x, y } = useMouse()
|
||||
// is the user prefers dark theme
|
||||
|
@ -12,7 +12,7 @@ exports[`html-parse > code frame > text 1`] = `
|
|||
"Testing code block
|
||||
|
||||
\`\`\`ts
|
||||
import { useMouse, usePreferredDark } from '@vueuse/core'
|
||||
import { useMouse, usePreferredDark } from '@vueuse/core'
|
||||
// tracks mouse position
|
||||
const { x, y } = useMouse()
|
||||
// is the user prefers dark theme
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue