it would be better to mark the returning string from `alert_if_deployed` as html_safe then `raw` will be unnecessary.