Mantis issue 17035

Replace the \R escape sequence for compatibility with older php versions.