cml icon indicating copy to clipboard operation
cml copied to clipboard

`cml publish` ignores paths with spaces

Open lainisourgod opened this issue 2 years ago • 2 comments

I use cml comment create --publish-native to publish report with images. All images are uploaded correctly except images with with spaces in paths: result/Some category/plot.png.

CML transformed my markdown![]( result/Some category/pr_curve.png) to !\[]\( result/Some category/pr_curve.png) (added some backslashes for some reason, didn't upload file).

When I transformed my path to contain %20 instead of spaces, ![]( result/Some%20category/pr_curve.png), CML just put this in comment as is.

lainisourgod avatar Mar 21 '23 19:03 lainisourgod

HI Team I would like to contribute to this issue.

kshitiz305 avatar Apr 21 '23 08:04 kshitiz305

Can we type the path in this manner that will allow it to work

![]( "result/Some category/pr_curve.png")

kshitiz305 avatar Apr 21 '23 08:04 kshitiz305