add processing of \r tag