HighlightJS is auto-selecting wrong language

Found the issue. I had to add Swift as a supported language in the site settings. I also removed a bunch of languages that my community doesn’t use. It’s fixed the issue.

Thanks for your help.