Fix server_url in injected templates
Format templates