|
|
|
@ -178,7 +178,7 @@ fn main() { |
|
|
|
|
|
|
|
|
|
let mut pics = String::new(); |
|
|
|
|
for img in &bread.images { |
|
|
|
|
pics.push_str(&format!("<a href=\"{src}\"><img src=\"{src}\"><a/>", src=&utf8_percent_encode(img.to_str().unwrap(), DEFAULT_ENCODE_SET).to_string())) |
|
|
|
|
pics.push_str(&format!("<a href=\"{src}\"><img src=\"{src}\"></a>", src=&utf8_percent_encode(img.to_str().unwrap(), DEFAULT_ENCODE_SET).to_string())) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
let detail = detail.replace("{images}", &pics); |
|
|
|
|