We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fe9fc1 commit 3d7a5e4Copy full SHA for 3d7a5e4
src/index.ts
@@ -137,7 +137,14 @@ function fmtCodepoints(cell: CellComponent) {
137
if (!val) {
138
return "";
139
}
140
- return `U+${val.toUpperCase()}`;
+ if (val.indexOf(" ") == -1) {
141
+ return `U+${val.toUpperCase()}`;
142
+ }
143
+
144
+ const parts = val.split(" ");
145
146
+ return `<abbr title="U+${parts.join(" U+").toUpperCase()}">${parts.length}</abbr>`
147
148
149
150
function fmtEmoji(cell: CellComponent) {
0 commit comments