mirror of https://gitlab.com/bashrc2/epicyon
Remove any initial paragraph markup
parent
aa2bc646ec
commit
50b22d5126
|
@ -1744,6 +1744,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||||
displayName=getDisplayName(postJsonObject['actor'],personCache)
|
displayName=getDisplayName(postJsonObject['actor'],personCache)
|
||||||
if displayName:
|
if displayName:
|
||||||
if ':' in displayName:
|
if ':' in displayName:
|
||||||
|
displayName=displayName.replace('<p>','').replace('</p>','')
|
||||||
displayName= \
|
displayName= \
|
||||||
addHtmlTags(baseDir,httpPrefix, \
|
addHtmlTags(baseDir,httpPrefix, \
|
||||||
nickname,domain,displayName,[],{})
|
nickname,domain,displayName,[],{})
|
||||||
|
@ -1871,6 +1872,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||||
avatarUrl=avatarUrl2
|
avatarUrl=avatarUrl2
|
||||||
if displayName:
|
if displayName:
|
||||||
if ':' in displayName:
|
if ':' in displayName:
|
||||||
|
displayName=displayName.replace('<p>','').replace('</p>','')
|
||||||
displayName= \
|
displayName= \
|
||||||
addHtmlTags(baseDir,httpPrefix, \
|
addHtmlTags(baseDir,httpPrefix, \
|
||||||
nickname,domain,displayName,[],{})
|
nickname,domain,displayName,[],{})
|
||||||
|
|
Loading…
Reference in New Issue