summaryrefslogtreecommitdiffstats
path: root/src/poem/elements
diff options
context:
space:
mode:
Diffstat (limited to 'src/poem/elements')
-rw-r--r--src/poem/elements/verse.rs4
1 files changed, 3 insertions, 1 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))
}