instead of using 'header' styles by default and change everything else, it's now switched around: default are non-header styles, only 'absatz'-ul's are styled separately
All checks were successful
CI/CD Pipeline / deploy-main (push) Successful in 1m6s

This commit is contained in:
2024-02-19 19:24:12 +01:00
parent d826735306
commit 2bc5cb6014
2 changed files with 6 additions and 4 deletions

View File

@ -21,9 +21,11 @@ fn print_content(content: Content) -> String {
ret.push_str("</ul>");
}
Content::Multi(l) => {
ret.push_str("<div class='multi'>");
for item in l {
ret.push_str(&print_content(item));
}
ret.push_str("</div>");
}
}