forked from indymedia/epicyon
Links in paragraphs
parent
b57546ac74
commit
84a3baddc9
|
@ -5154,11 +5154,11 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
||||||
if moderator:
|
if moderator:
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
' <center>\n' + \
|
' <center>\n' + \
|
||||||
' <a href="' + \
|
' <a class="editLinksIcon" href="' + \
|
||||||
httpPrefix + '://' + domainFull + \
|
httpPrefix + '://' + domainFull + \
|
||||||
'/users/' + nickname + '/editlinks' + '">' + \
|
'/users/' + nickname + '/editlinks' + '">' + \
|
||||||
'<img loading="lazy" alt="" title="" src="/' + \
|
'<img loading="lazy" alt="" title="" src="/' + \
|
||||||
iconsDir + '/edit.png" class="editLinksIcon" /></a>\n' + \
|
iconsDir + '/edit.png" /></a>\n' + \
|
||||||
' </center>\n'
|
' </center>\n'
|
||||||
|
|
||||||
linksFilename = baseDir + '/accounts/links.txt'
|
linksFilename = baseDir + '/accounts/links.txt'
|
||||||
|
@ -5191,8 +5191,8 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
||||||
lineStr = lineStr[:len(lineStr)-1]
|
lineStr = lineStr[:len(lineStr)-1]
|
||||||
# add link to the returned html
|
# add link to the returned html
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
' <br><a href="' + linkStr + '">' + \
|
' <p><a href="' + linkStr + '">' + \
|
||||||
lineStr + '</a>\n'
|
lineStr + '</a></p>\n'
|
||||||
return htmlStr
|
return htmlStr
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue