vfmt: trim ^A from embedded inline comments too
							parent
							
								
									40770f1697
								
							
						
					
					
						commit
						92a75c80db
					
				|  | @ -1207,7 +1207,7 @@ struct CommentsOptions { | ||||||
| 
 | 
 | ||||||
| pub fn (mut f Fmt) comment(node ast.Comment, options CommentsOptions) { | pub fn (mut f Fmt) comment(node ast.Comment, options CommentsOptions) { | ||||||
| 	if options.iembed { | 	if options.iembed { | ||||||
| 		x := node.text.replace('\n', ' ') | 		x := node.text.replace('\n', ' ').trim_left('\x01') | ||||||
| 		f.write('/* $x */') | 		f.write('/* $x */') | ||||||
| 		return | 		return | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue