I have a variable containing javascript code which looks like this:
$this->item->test_script = '<script type = "text/javascript">code for url</script>'
However when I view it in inspect element, the script tags were eliminated, thus not showing the link I tried to display in the article. Is there a way to escape script tags so as for them not to be removed by joomla?