@kvusal Looks like Revit adds “\r\n” as a line separator following the windows format.
Try this and it should work: