Modifying task name which contain multiple spaces in the middle

Hi there,

We are doing some customization of the library. Everything is so far so good until we need to update the task name programatically.
This is what we are doing

    let modeling = modeler.get("modeling");
    modeling.updateProperties(task, {
      name: "some     thing"
    });

We expect the task name is exactly “some      thing”, but instead it becomes “some thing”.
I would like to know whether there’s anyway to achieve what we expect.

Hi @TriPham, welcome!

I was able to reproduce your problem in this Sandbox.

Could you maybe open an issue so we can handle this one in an orderly manner? It seems like the space characters got lost somewhere.

1 Like

@Niklas_Kiefer
Thank you for your reply.
I have posted the issue here. Hope you guys resolve it soon.