From d5a28fd2b0a9c5791215fc1393f715aaf32b0ec6 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Fri, 3 Aug 2018 00:07:35 -0500 Subject: [PATCH] Remove paragraph brackets around it. --- update-post | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/update-post b/update-post index 457fcd6..cd3d700 100755 --- a/update-post +++ b/update-post @@ -82,9 +82,11 @@ def updatepost(infoyaml, md, post=None, title=None, slug=None): else: l10nstr = "Translated into: " l10nstr = l10nstr + "" + langname + "" - md = md.replace("NOTICE", "\n\n" + l10nstr) + message = "\n\n" + l10nstr else: - md = md.replace("NOTICE", "") + message = "" + md = md.replace("NOTICE", message) + md = md.replace("

"+message+"

", message) post.title = title post.content = md