Skip to main content
Question

Action for Rasterizing or creating image of the HTML text 

  • Jul 29, 2025 6:29 AM UTC
  • 5 replies
  • 130 views

Sudheerzscaler
Forum|alt.badge.img+2

is there any Action for Rasterizing or creating image of the HTML text 

5 replies

kentphelps
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • Jul 30, 2025 4:05 PM UTC

You would need to open a support ticket and request this feature request


ylandovskyy
Staff
Forum|alt.badge.img+17

Hey ​@Sudheerzscaler ,

 

If the HTML is a link, then you can use the Screenshot Machine integration for it.


SoarAndy
Forum|alt.badge.img+12
  • Bronze 1
  • Aug 11, 2025 9:14 AM UTC

< risk, here be dragons, at your own discretion >

I have put dirty HTML data into a widget before and rendered it.  The HTML widget is rendered in a sandbox and is **quite** safe. 

To further protect this you can use an action “SanitizeHTML” and use the output of that.

To further protect the HTML widget and control script injection consider CSP in the widget headers
https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP
 


With all that said, processing end user data is something to take seriously, so the above is educational and not specific advice.


malzahnOptiv
Forum|alt.badge.img+4

< risk, here be dragons, at your own discretion >

I have put dirty HTML data into a widget before and rendered it.  The HTML widget is rendered in a sandbox and is **quite** safe. 

To further protect this you can use an action “SanitizeHTML” and use the output of that.

To further protect the HTML widget and control script injection consider CSP in the widget headers
https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP
 


With all that said, processing end user data is something to take seriously, so the above is educational and not specific advice.

 

Hi ​@SoarAndy ,

SanitizeHTML is great in that it escapes the unallowed tags, but I’m currently working with a SOC that would prefer all the unallowed tags just be stripped out.  Is that a possible future feature of this function?  

 

Thanks


AymanC
Forum|alt.badge.img+14
  • Bronze 5
  • Nov 13, 2025 11:40 PM UTC

Hi ​@malzahnOptiv,

 

Could you not look to use the ‘SanitizeHTML’ action, with the unallowed tags, and then represent the output of this, in the HTML widget?

 

Kind Regards,

Ayman