aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-10-11 11:05:08 +0200
committerAlex Auvolat <alex@adnab.me>2023-10-11 11:05:08 +0200
commit9074e360301dfdbb1e7845f8c5bb51158b8e0389 (patch)
tree3f2137f057755ea6b133b832d4dc3f5d45feb97d /src
parent0b7b96267a4151d00e31c50946d088701689db34 (diff)
downloaddatagengo-9074e360301dfdbb1e7845f8c5bb51158b8e0389.tar.gz
datagengo-9074e360301dfdbb1e7845f8c5bb51158b8e0389.zip
fix font in vocab reading
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index ba31b5a..7e0b40b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1192,7 +1192,7 @@ fn format_vocab(f: &mut impl Write, vocab: &[&JlptVocab], t: &str) -> Result<()>
for v in vocab {
writeln!(
f,
- r#"<tr><td>{}</td><td>&nbsp;&nbsp;<span class="tab_large font_ja">{}</span>&nbsp;&nbsp;</td><td>{}</td><td>{}</td></tr>"#,
+ r#"<tr><td>{}</td><td>&nbsp;&nbsp;<span class="tab_large font_ja">{}</span>&nbsp;&nbsp;</td><td>{}</td><td class="font_ja">{}</td></tr>"#,
v.level, v.kanji, v.en, v.kana
)?;
}