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 {