From e8ab0087545e234a085222f85a0dc7ca511c1ea6 Mon Sep 17 00:00:00 2001 From: Zergling_man Date: Fri, 29 Oct 2021 05:53:33 +1100 Subject: [PATCH] oops --- books/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/books/views.py b/books/views.py index 05cd3db..cfd92f1 100644 --- a/books/views.py +++ b/books/views.py @@ -60,4 +60,4 @@ def chapter(bookurl,chapnum): book=models.Book.objects.filter(url=bookurl)[0] chapter=models.Chapter.objects.filter(book=book,number=int(chapnum))[0] text='

'+chapter.contents.replace('<','<').replace('>','>').replace('\n\n','

').replace('\n','
')+'

' - return {'title':chapter,'content':'

Navigation buttons will come later...

\n'+chapter.contents,'date':chapter.added} \ No newline at end of file + return {'title':chapter,'content':'

Navigation buttons will come later...

\n'+text,'date':chapter.added} \ No newline at end of file