Fix Page preview on edit

This commit is contained in:
Dirk Alders 2024-10-11 22:46:25 +02:00
parent 5288f20261
commit 89c8f4fb0b

View File

@ -94,7 +94,7 @@ def edit(request, rel_path):
messages.edit_no_change(request) messages.edit_no_change(request)
return HttpResponseRedirect(url_page(request, rel_path)) return HttpResponseRedirect(url_page(request, rel_path))
elif preview is not None: elif preview is not None:
form = EditForm(page_data=page_txt) form = EditForm(page_data=page_txt, page_tags=tags)
# #
context_adaption( context_adaption(
context, context,