summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/poem/elements/verse.rs4
-rw-r--r--src/poem/recite.rs1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/poem/elements/verse.rs b/src/poem/elements/verse.rs
index 307ebc8..b0d451b 100644
--- a/src/poem/elements/verse.rs
+++ b/src/poem/elements/verse.rs
@@ -398,8 +398,10 @@ impl Verse {
return Ok(output.status.code().unwrap_or(-1));
}
- out.clear();
err.clear();
+ if self.meter != Rune::Couplet {
+ out.clear();
+ }
Ok(output.status.code().unwrap_or(0))
}
diff --git a/src/poem/recite.rs b/src/poem/recite.rs
index 8b2fd1d..2311352 100644
--- a/src/poem/recite.rs
+++ b/src/poem/recite.rs
@@ -160,7 +160,6 @@ impl Reciteable for Poem {
} else {
continue;
}
-
verse.incant(&mut out, &mut pids)?
};