Non-breaking space is not treated in ui_update.label

I am trying to space fields in a ui-text node. The msg.payload accepts '&nbsp' as a space, but the msg.ui_update.label does not. Is there any other way to get multiple spaces into the label?

Hi @selwynjackson - welcome to the community.

I actually went to answer, _"just include spaces in the msg.payload, e.g. "My Payload", but you're right, that clears the spaces, and from research, is actually just how HTML works.

I thought we parsed that label content as HTML, but it appears we do not. I'll get a bug/issue opened to get that resolved.

Update: Issue Opened: Support HTML in ui_update.label for UI Text node · Issue #1346 · FlowFuse/node-red-dashboard · GitHub

Thank you, @joepavitt