mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
metadata: don't break words nor on hyphens
This commit is contained in:
parent
df9b044a3b
commit
fb23b2cff4
@ -288,7 +288,9 @@ class DescriptionFormatter:
|
||||
self.state = self.stNONE
|
||||
whole_para = ' '.join(self.para_lines)
|
||||
self.addtext(whole_para)
|
||||
self.text_txt += textwrap.fill(whole_para, 80) + '\n\n'
|
||||
self.text_txt += textwrap.fill(whole_para, 80,
|
||||
break_long_words=False,
|
||||
break_on_hyphens=False) + '\n\n'
|
||||
del self.para_lines[:]
|
||||
|
||||
def endul(self):
|
||||
|
Loading…
Reference in New Issue
Block a user