mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-07 18:01:06 +03:00
metadata: don't break words nor on hyphens
This commit is contained in:
parent
df9b044a3b
commit
fb23b2cff4
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue