We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eea612 commit 34191aeCopy full SHA for 34191ae
src/render.rs
@@ -534,11 +534,11 @@ mod tests {
534
#[test]
535
fn image_alignment() {
536
let text =
537
- "<img src=\"https://img.shields.io/crates/v/clap.svg\" alt=\"\" align=\"center\">\n";
+ "<p align=\"center\"><img src=\"https://img.shields.io/crates/v/clap.svg\" alt=\"\"></p>\n";
538
let result = markdown_to_html(text, None);
539
assert_eq!(
540
result,
541
- "<img src=\"https://img.shields.io/crates/v/clap.svg\" alt=\"\" align=\"center\">\n"
+ "<p align=\"center\"><img src=\"https://img.shields.io/crates/v/clap.svg\" alt=\"\"></p>\n"
542
);
543
}
544
0 commit comments