[core] fix removing ssl from html widget