diff --git a/core/views/uploads.py b/core/views/uploads.py index 0c2f655..5c035d8 100644 --- a/core/views/uploads.py +++ b/core/views/uploads.py @@ -213,7 +213,8 @@ def logbookedit(request, year=None, slug=None): entry = request.POST["text"].strip() entry = entry.replace('\r','') # remove HTML-standard CR inserted entry = entry.replace('\n\n','\n
\n
\n') # replace 2 \n with

- entry = entry.replace('\n tag, even if it has attributes, with

+ entry = entry.replace('

','
\n tag with

+ entry = entry.replace('

\n tag with attributes with

entry = entry.replace('
','
') # clean up previous hack tu = request.POST["tu"].strip() tu = clean_tu(tu)