diff options
author | Alex Auvolat <alex@adnab.me> | 2023-10-11 11:05:08 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-10-11 11:05:08 +0200 |
commit | 9074e360301dfdbb1e7845f8c5bb51158b8e0389 (patch) | |
tree | 3f2137f057755ea6b133b832d4dc3f5d45feb97d | |
parent | 0b7b96267a4151d00e31c50946d088701689db34 (diff) | |
download | datagengo-9074e360301dfdbb1e7845f8c5bb51158b8e0389.tar.gz datagengo-9074e360301dfdbb1e7845f8c5bb51158b8e0389.zip |
fix font in vocab reading
-rw-r--r-- | src/main.rs | 2 |
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> <span class="tab_large font_ja">{}</span> </td><td>{}</td><td>{}</td></tr>"#, + r#"<tr><td>{}</td><td> <span class="tab_large font_ja">{}</span> </td><td>{}</td><td class="font_ja">{}</td></tr>"#, v.level, v.kanji, v.en, v.kana )?; } |