Skip to content

Commit 627abc1

Browse files
authored
Some entities not decoded correctly in the browser (#380). (#386)
1 parent 20c7203 commit 627abc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/common/entities.browser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ var textarea;
22

33
export function decodeEntity(name) {
44
textarea = textarea || document.createElement('textarea');
5-
textarea.innerHTML = '&' + name;
5+
textarea.innerHTML = '&' + name + ';';
66
return textarea.value;
77
}

0 commit comments

Comments
 (0)