How to execute js code string from controller to template

"<script type=\"text/javascript\">some js code</script>"
I get that response from a third party. i want to excute in template. I was using that code in ruby
<%== some jscode %>. What is equality of that code in elixir?

1 Like

i solved with raw()