Add escaping for docs + tests