diff --git a/core/views/expo.py b/core/views/expo.py index f6cd76ea3..a151a4dc2 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -476,7 +476,7 @@ def editexpopage(request, path): bodyargs = "" postbody = "\n" body = pageform.cleaned_data["html"] - body = body.replace("\r", "") + body = body.replace("\r", "\n") result = f"{preheader}{head}{postheader}\n{body}{postbody}" if not filefound or result != html: # Check if content changed at all