This commit is contained in:
parent
2ab232a835
commit
cf63749f00
@ -6,7 +6,7 @@ fn print_content(content: Content) -> String {
|
|||||||
let mut ret = String::new();
|
let mut ret = String::new();
|
||||||
|
|
||||||
match content {
|
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) => {
|
Content::Item(l) | Content::List(l) => {
|
||||||
ret.push_str("<ul class='content list'>");
|
ret.push_str("<ul class='content list'>");
|
||||||
for item in l {
|
for item in l {
|
||||||
|
Loading…
Reference in New Issue
Block a user