backport change from cloudlive branch: Fix export when an operation has both a backslash and a carriage return.
backport change from cloudlive branch: Fix export when an operation has both a backslash and a carriage return.

frePPLe/frePPLe,frePPLe/frePPLe,frePPLe/frePPLe,frePPLe/frePPLe,frePPLe/frePPLe,frePPLe/frePPLe