Keywords escape mode escapes to %%, not ~.