I needed to write some custom stuff involving svgs and some scripts for a client. The whole thing worked locally in a test html file I did so I went to wordpress and dropped my code into the HTML widget. It doesn’t work anymore. Does wordpress not allow svg or scripts to be in the html widget?
Source: Ask Javascript Questions