mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Only make lists if a space follows the # or * sign
This prevents making a list item out of lines such as: *.rom images and allows using...
This commit is contained in:
parent
6c6a9c4bb2
commit
65d796c93a
2 changed files with 5 additions and 5 deletions
|
|
@ -173,7 +173,7 @@ def main():
|
||||||
# Invalid lists
|
# Invalid lists
|
||||||
desc_chars = 0
|
desc_chars = 0
|
||||||
for line in app['Description']:
|
for line in app['Description']:
|
||||||
if re.match(r'[ ]*\*[^ ]', line):
|
if re.match(r'[ ]*[*#][^ .]', line):
|
||||||
warn("Invalid bulleted list: '%s'" % line)
|
warn("Invalid bulleted list: '%s'" % line)
|
||||||
desc_chars += len(line)
|
desc_chars += len(line)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue