diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index ff1c0c7c..3f95117a 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -85,11 +85,11 @@ regex_warnings = { 'Description': [ (re.compile(r'^No description available$'), "Description yet to be filled"), - (re.compile(r'[ ]*[*#][^ .]'), + (re.compile(r'\s*[*#][^ .]'), "Invalid bulleted list"), - (re.compile(r'^ '), + (re.compile(r'^\s'), "Unnecessary leading space"), - (re.compile(r'.* $'), + (re.compile(r'.*\s$'), "Unnecessary trailing space"), ], }