summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/report.cc b/src/report.cc
index 1cba0160..0b3d625a 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -267,6 +267,8 @@ value_t report_t::fn_join(call_scope_t& args)
foreach (const char ch, args[0].to_string())
if (ch != '\n')
out << ch;
+ else
+ out << "\\n";
return string_value(out.str());
}