From db19a3e29ad77a1317c9ac5fb12d162c8e3a7217 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 1 Mar 2020 18:17:36 +0000 Subject: [PATCH] Editing blog posts --- blog.py | 14 +++++++---- daemon.py | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 80 insertions(+), 6 deletions(-) diff --git a/blog.py b/blog.py index b02232aa..3a7752b4 100644 --- a/blog.py +++ b/blog.py @@ -609,7 +609,9 @@ def htmlEditBlog(mediaInstance: bool,translate: {}, \ editBlogForm+= \ '
' + pathBase+'?'+endpoint+'">' + editBlogForm+=' ' + editBlogForm+=' ' editBlogForm+='
' editBlogForm+=' ' editBlogForm+='
' @@ -622,7 +624,8 @@ def htmlEditBlog(mediaInstance: bool,translate: {}, \ editBlogForm+= \ ' '+ \
         translate['Search for emoji']+'' editBlogForm+='
' @@ -645,10 +648,13 @@ def htmlEditBlog(mediaInstance: bool,translate: {}, \ editBlogForm+= \ ' ' editBlogForm+='' - editBlogForm+='
' + editBlogForm+= \ + '
' messageBoxHeight=800 - contentStr=postJsonObject['object']['content'].replace('

','').replace('

','') + contentStr= \ + postJsonObject['object']['content'].replace('

','').replace('

','') editBlogForm+= \ '