Remove paragraph markup

main2
Bob Mottram 2019-09-23 11:36:23 +01:00
parent b8da814892
commit aa2bc646ec
1 changed files with 2 additions and 0 deletions

View File

@ -1747,6 +1747,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
displayName= \
addHtmlTags(baseDir,httpPrefix, \
nickname,domain,displayName,[],{})
displayName=displayName.replace('<p>','').replace('</p>','')
titleStr+='<a href="'+messageId+'">'+displayName+'</a>'
else:
titleStr+='<a href="'+messageId+'">@'+actorNickname+'@'+actorDomain+'</a>'
@ -1873,6 +1874,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
displayName= \
addHtmlTags(baseDir,httpPrefix, \
nickname,domain,displayName,[],{})
displayName=displayName.replace('<p>','').replace('</p>','')
titleStr=displayName+' '+titleStr
avatarImageInPost= \