diff --git a/vlib/v/fmt/fmt.v b/vlib/v/fmt/fmt.v index 6c9fbeb58a..090f618d84 100644 --- a/vlib/v/fmt/fmt.v +++ b/vlib/v/fmt/fmt.v @@ -1207,7 +1207,7 @@ struct CommentsOptions { pub fn (mut f Fmt) comment(node ast.Comment, options CommentsOptions) { if options.iembed { - x := node.text.replace('\n', ' ') + x := node.text.replace('\n', ' ').trim_left('\x01') f.write('/* $x */') return }