add class, as demanded by MB
Some checks failed
CI/CD Pipeline / test (push) Has been cancelled

This commit is contained in:
philipp 2024-02-17 11:00:55 +01:00
parent 2ab232a835
commit cf63749f00

View File

@ -6,7 +6,7 @@ fn print_content(content: Content) -> String {
let mut ret = String::new();
match content {
Content::Text(t) => ret.push_str(&format!("<span>{t}</span>")),
Content::Text(t) => ret.push_str(&format!("<span class='content'>{t}</span>")),
Content::Item(l) | Content::List(l) => {
ret.push_str("<ul class='content list'>");
for item in l {