Clicking in email re-directs to Youtube, not website - any work around?

little piece of javascript in an html card:

<script>
    window.location.href = "/path/to/post" 
</script>
1 Like