Do escaping for RST format as well