Skip to content

Commit 1015911

Browse files
committed
chore: use explicit non-breaking space unicode
1 parent 90313e5 commit 1015911

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared/utils/html.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const htmlEntities: Record<string, string> = {
55
'&quot;': '"',
66
'&#39;': "'",
77
'&apos;': "'",
8-
'&nbsp;': ' ',
8+
'&nbsp;': '\u00A0',
99
}
1010

1111
export function decodeHtmlEntities(text: string): string {

0 commit comments

Comments
 (0)