How to render programmatically a link in gadget?

Hi :slight_smile:
I’m wondering if this is possible: how to render in gadget view:
<#Link href=‘test.com’>test</#Link>?
Hash is added intentionally. In my code it is removed.
If I provide above line in View code it renders link properly but when I add above line programmatically as text it is displaying it like above but not the link to click. Could anyone help with describing how to start to create rich text editor with possibility of rendering html or just tag but without making it open for injecting js code which is dangerous.
Kind regards
D.