Thanks for reaching out on Microsoft Q&A!
Leading or trailing whitespaces could potentially always result in strange behaviour.
I would like to advise you not to use it in the contents of the data, but add it directly to the template between the two text controls.
That way there can’t be any strange conversion whatsoever as it is fixed in the template. It’s best to avoid any whitespaces around your data itself (within isn’t an issue).
If you want it to be dynamic, let’s say: sometimes you need a whitespaces and sometimes you don’t, it’s best to use only one content control. Within the flow of your Logic App you could merge the two values using the concat() function, like for example:
concat(body('your_action')['your_value'),' uur')
When using the snippet above you can still be dynamic whether or not you’d want a whitespace between your value and the unit, but make it writeable to only one control.
Please click ‘Accept answer’ if you think my answer is helpful. Feel free to drop additional queries in the comments below!
Kind regards,
Sonny