update risp version, ability to show images; add stvo
All checks were successful
CI/CD Pipeline / deploy-main (push) Successful in 28m17s
All checks were successful
CI/CD Pipeline / deploy-main (push) Successful in 28m17s
This commit is contained in:
@@ -24,6 +24,9 @@ fn print_content(content: Content) -> String {
|
||||
let mut ret = String::new();
|
||||
|
||||
match content {
|
||||
Content::Image(url) => {
|
||||
ret.push_str(&format!("<img src='https://www.ris.bka.gv.at/{url}' />"))
|
||||
}
|
||||
Content::Text(t) => ret.push_str(&format!("<span class='content'>{t}</span>")),
|
||||
Content::List(l) => {
|
||||
ret.push_str("<ul class='content list'>");
|
||||
|
Reference in New Issue
Block a user