From 59d6a675dd18953960fd9fa9be3af774f3724966 Mon Sep 17 00:00:00 2001 From: Alexey Date: Thu, 27 Feb 2020 01:18:31 +0300 Subject: [PATCH] vdoc: trim result value --- vlib/v/doc/doc.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/doc/doc.v b/vlib/v/doc/doc.v index 72cec58885..f0b5895823 100644 --- a/vlib/v/doc/doc.v +++ b/vlib/v/doc/doc.v @@ -58,7 +58,7 @@ pub fn doc(mod string, table &table.Table) string { println(path) */ - return d.out.str() + return d.out.str().trim_space() } fn (d &Doc) get_fn_node(f ast.FnDecl) string {