Added support for 'html' in italicize_taxonomy()

This commit is contained in:
Emil Rossing committed 2024-02-12 11:08:02 +01:00
1 parent 83e92fd88c
commit 436b04dabe
3 files changed
+16 -9

No files matched your search

+4
View File
@@ -41,3 +41,7 @@ if (AMR:::has_colour()) {
"test for \033[3mE. coli\033[23m"
)
}
expect_identical(
italicise_taxonomy("test for E. coli", "html"),
"test for <i>E. coli</i>"
)