I want to add a script tag inside a jquery template. Therefore, I refer to the link. It reports closing the internal script tag as follows:
<script id="filaVideoTemplate" type="text/x-jQuery-tmpl">
<script type="text/javascript">
{{html "</sc"+"ript>"}}
</script>
I tried, but django shows this error: Unable to parse the rest: '"</ sc" + "ript>"' from 'html "</ sc" + "ript>"'
. How can I do this django. Is there any specific solution in django for this?
source
share