Replace formatting

main2
Bob Mottram 2019-10-23 15:32:48 +01:00
parent b048d894b7
commit f2a5c16311
1 changed files with 2 additions and 0 deletions

View File

@ -1259,6 +1259,7 @@ def htmlProfile(translate: {},projectVersion: str, \
if '<br>' in profileDescription:
if len(profileDescription.split('<br>'))>2:
profileDescriptionShort=''
profileDescription=profileDescription.replace('<br>','\n')
profileHeaderStr= \
'<div class="hero-image">' \
' <div class="hero-text">'+ \
@ -3229,6 +3230,7 @@ def htmlProfileAfterSearch(translate: {}, \
if '<br>' in profileDescription:
if len(profileDescription.split('<br>'))>2:
profileDescriptionShort=''
profileDescription=profileDescription.replace('<br>','\n')
profileStr= \
' <div class="hero-image">' \
' <div class="hero-text">' \