I am trying to embed the code provided by weatherwidget.io into a Discourse topic. I have users that will be attending a physical location for an event, and I wanted to provide the upcoming weather in that area. I want to embed this code, but I’m assuming scripts don’t work inline in the topic?
<a class="weatherwidget-io" href="https://forecast7.com/en/30d27n97d74/austin/?unit=us" data-label_1="dAustin, Texas" data-label_2="Weather" data-theme="original" >dAustin, Texas Weather</a>
<script>
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src='https://weatherwidget.io/js/widget.min.js';fjs.parentNode.insertBefore(js,fjs);}}(document,'script','weatherwidget-io-js');
</script>