mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-01-26 00:08:25 -05:00
metadata: don't break words nor on hyphens
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user