For #1694: Fix escaping outside of URLs