1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-22 17:44:22 +00:00

Add underline to deck titles

This commit is contained in:
Steffo 2022-10-18 23:54:51 +02:00
parent 0b438479b7
commit d87e19d81f
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -183,7 +183,7 @@ pub fn display_deck(index: &CardIndex, deck: &Deck, code: &str, name: &Option<&s
.join("\n");
match name {
Some(name) => format!("<b>{}</b>\n<code>{}</code>\n\n{}", &name, &code, &cards),
Some(name) => format!("<b><u>{}</u></b>\n<code>{}</code>\n\n{}", &name, &code, &cards),
None => format!("<code>{}</code>\n\n{}", &code, &cards),
}
}