Add escaping for docs