node-red-dashboard icon indicating copy to clipboard operation
node-red-dashboard copied to clipboard

support HTML in msg.payload of ui-text.

Open m-schaeffler opened this issue 1 year ago • 1 comments

Description

I sometimes use HTML in the format property of dashboard 1.0 ui-text.

As this is no longer available, I tried to use HTML in msg.payload instead. This HTML code is not executed but just written out: Bildschirmfoto vom 2024-03-28 18-21-18

It's clear that this is due to injection attacks. Would it be possible to have a switch in the ui-text to allow HTML in the mag.payload?

Have you provided an initial effort estimate for this issue?

I am no FlowFuse team member

m-schaeffler avatar Mar 28 '24 17:03 m-schaeffler

This is similar to #615 "Markdown-UI & Template-UI node do not process HTML\Markdown sent to it by NR Template node"

colin-grierson avatar Apr 08 '24 23:04 colin-grierson

This is now supported and was closed with https://github.com/FlowFuse/node-red-dashboard/pull/1046

joepavitt avatar Jul 24 '24 07:07 joepavitt