Skip to content

Commit

Permalink
fix(#173): Fix escaping of line break chars
Browse files Browse the repository at this point in the history
  • Loading branch information
timo-reymann committed Nov 7, 2023
1 parent c829c84 commit 865e138
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -462,5 +462,5 @@ class MjmlPreviewFileEditor(private val project: Project, private val virtualFil
}

fun String.fixWindowsLineBreaks(): String {
return this.replace("\\r\\n", "\n")
return this.replace("\r\n", "\n")
}

0 comments on commit 865e138

Please sign in to comment.