@@ -50,7 +50,7 @@ <h1 class="title">思源映射查看器</h1>
50
50
< div class ="item " v-for ="codePoint in searchQuery " :key ="codePoint " :set ="c = String.fromCodePoint(codePoint) ">
51
51
< div class ="title ">
52
52
< span class ="code-point "> U+{{ codePoint.toString(16).toUpperCase().padStart(4, '0') }}</ span >
53
- < span class ="char "> {{ c }}</ span >
53
+ < span class ="char "> {{ c === ' ' ? ' ' : c }}</ span >
54
54
< span class ="tag " v-for ="tag in mapping[codePoint].tags " :key ="tag "> {{ tag }}</ span >
55
55
</ div >
56
56
< div class ="glyphs ">
@@ -60,7 +60,7 @@ <h1 class="title">思源映射查看器</h1>
60
60
< span class ="language-flavor "> {{ languageFlavor.toUpperCase() }}</ span >
61
61
< span class ="glyph-name "> {{ glyphName }}</ span >
62
62
</ div >
63
- < span class ="char " :style ="{ width: fontSize * 1.4 + 'px', color: getGlyphColor(glyphName), fontFamily: 'SourceHanSans-' + languageFlavor.toUpperCase() + ', sans-serif', fontSize: fontSize + 'px', fontWeight: fontWeight } "> {{ c }}</ span >
63
+ < span class ="char " :style ="{ width: fontSize * 1.4 + 'px', color: getGlyphColor(glyphName), fontFamily: 'SourceHanSans-' + languageFlavor.toUpperCase() + ', sans-serif', fontSize: fontSize + 'px', fontWeight: fontWeight } "> {{ c === ' ' ? ' ' : c }}</ span >
64
64
</ div >
65
65
</ div >
66
66
< div class ="line " v-if ="displaySerif && 'serif' in mapping[codePoint] ">
@@ -69,7 +69,7 @@ <h1 class="title">思源映射查看器</h1>
69
69
< span class ="language-flavor "> {{ languageFlavor.toUpperCase() }}</ span >
70
70
< span class ="glyph-name "> {{ glyphName }}</ span >
71
71
</ div >
72
- < span class ="char " :style ="{ width: fontSize * 1.4 + 'px', color: getGlyphColor(glyphName), fontFamily: 'SourceHanSerif-' + languageFlavor.toUpperCase() + ', serif', fontSize: fontSize + 'px', fontWeight: fontWeight } "> {{ c }}</ span >
72
+ < span class ="char " :style ="{ width: fontSize * 1.4 + 'px', color: getGlyphColor(glyphName), fontFamily: 'SourceHanSerif-' + languageFlavor.toUpperCase() + ', serif', fontSize: fontSize + 'px', fontWeight: fontWeight } "> {{ c === ' ' ? ' ' : c }}</ span >
73
73
</ div >
74
74
</ div >
75
75
</ div >
0 commit comments