0

I am working with an open source ETL tool (dagster) that allows me to attach some "metadata" to the results of each operation.

Typically the metadata should be text or numbers, but I want to insert an HTML snippet.

My issue is that the HTML is not "rendering" in the tool's web-ui. Here is a quick screenshot of the UI and the source tree:

enter image description here

enter image description here

Any ideas on how I can have it "render" in the UI?

MYK
  • 1,988
  • 7
  • 30
  • 2
    I'm not sure if you are looking for an XSS vulnerability or expecting people to download some third party software and work out how to add a feature to it. Either way, your question isn't suitable for Stackoverflow. – Quentin Dec 07 '22 at 10:25
  • I meant it more as an HTML question - not sure why when I write HTML to the page it's not rendering. – MYK Dec 07 '22 at 10:40
  • Because, presumably, the tool is designed to treat it as plain text. – Quentin Dec 07 '22 at 10:40
  • It is, almost sure. Do you think there is any way to modify the inserted HTML to force a render? I suppose not since that'd be a XSS vulnerability as you said. I could look to modify the Dagster code for this to work. – MYK Dec 07 '22 at 10:42

1 Answers1

1

I think the closest you can get to rendering HTML in Dagster is using the markdown metadata type. Rendering HTML is specifically not supported due to the possible vulnerabilities it could introduce.

zyd
  • 833
  • 7
  • 16