From 8fd5e71c4bf98a8980a5cd8503313ffb9bf1e8e6 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 31 Mar 2024 18:56:12 +0300 Subject: [PATCH] fix: display native.yaml as a PRE Signed-off-by: Lars Wirzenius --- src/runlog.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runlog.rs b/src/runlog.rs index bd01c28..02541c7 100644 --- a/src/runlog.rs +++ b/src/runlog.rs @@ -168,7 +168,7 @@ impl RunLog { ) .with_child( Element::new(Tag::Blockquote) - .with_child(Element::new(Tag::Code).with_text(&text)), + .with_child(Element::new(Tag::Pre).with_text(&text)), ); doc.push_to_body(&native_yaml); }