From b6ecb80f4bd1077332a93d0cd36ab85c63581f4b Mon Sep 17 00:00:00 2001 From: Kiith-Sa Date: Thu, 27 Dec 2012 20:11:57 +0100 Subject: [PATCH] Fixed a minor output formatting bug. --- dyaml/representer.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dyaml/representer.d b/dyaml/representer.d index 99a3630..bb908e1 100644 --- a/dyaml/representer.d +++ b/dyaml/representer.d @@ -510,7 +510,7 @@ Node representReal(ref Node node, Representer representer) @system f == -1.0 * real.infinity ? "-.inf": {auto a = appender!string; formattedWrite(a, "%12f", f); - return a.data;}(); + return a.data.strip();}(); return representer.representScalar("tag:yaml.org,2002:float", value); }