flow-library icon indicating copy to clipboard operation
flow-library copied to clipboard

HTML visible in the NR install palette list

Open Steve-Mcl opened this issue 3 months ago • 1 comments

As discussed on Slack:

Sometimes, HTML can make its way through to the NR install palette. Potentionally this may want to be handled in NR code too, but for starters raising here to capture at source.

Image

For reference

  • this is the NPM page view (note commented HTML IMG is not shown)
  • this is the flows page view (note HTML code shown IMG with closing comment tag)
  • this is the markdown for that page

@dimitrieh wrote:

I think related to https://github.com/node-red/flow-library/blob/659323234a0569da8b23f6a20cd79b6bc5a050ee/template/node.html#L27

@knolleary wrote:

Just to note, npm search results show the raw HTML as the description for that note:

Image

Steve-Mcl avatar Sep 03 '25 10:09 Steve-Mcl

@Steve-Mcl might have a fix: https://github.com/node-red/flow-library/pull/123 (can you test/review?)

dimitrieh avatar Sep 03 '25 11:09 dimitrieh