forked from indymedia/epicyon
Replace formatting
parent
b048d894b7
commit
f2a5c16311
|
@ -1259,6 +1259,7 @@ def htmlProfile(translate: {},projectVersion: str, \
|
||||||
if '<br>' in profileDescription:
|
if '<br>' in profileDescription:
|
||||||
if len(profileDescription.split('<br>'))>2:
|
if len(profileDescription.split('<br>'))>2:
|
||||||
profileDescriptionShort=''
|
profileDescriptionShort=''
|
||||||
|
profileDescription=profileDescription.replace('<br>','\n')
|
||||||
profileHeaderStr= \
|
profileHeaderStr= \
|
||||||
'<div class="hero-image">' \
|
'<div class="hero-image">' \
|
||||||
' <div class="hero-text">'+ \
|
' <div class="hero-text">'+ \
|
||||||
|
@ -3229,6 +3230,7 @@ def htmlProfileAfterSearch(translate: {}, \
|
||||||
if '<br>' in profileDescription:
|
if '<br>' in profileDescription:
|
||||||
if len(profileDescription.split('<br>'))>2:
|
if len(profileDescription.split('<br>'))>2:
|
||||||
profileDescriptionShort=''
|
profileDescriptionShort=''
|
||||||
|
profileDescription=profileDescription.replace('<br>','\n')
|
||||||
profileStr= \
|
profileStr= \
|
||||||
' <div class="hero-image">' \
|
' <div class="hero-image">' \
|
||||||
' <div class="hero-text">' \
|
' <div class="hero-text">' \
|
||||||
|
|
Loading…
Reference in New Issue