SWDEV-123456 - handle checkboxes with spaces (#464)
Este commit está contenido en:
cometido por
GitHub
padre
54a2e943d7
commit
de27ba3f02
@@ -7,7 +7,7 @@ def is_checkbox(line: str) -> bool:
|
||||
|
||||
|
||||
def is_checked(line: str) -> bool:
|
||||
return bool(re.match(r"^\s*-\s*\[[xX]\]\s*.+", line))
|
||||
return bool(re.match(r"^\s*-\s*\[\s*[xX]\s*\]\s*.+", line))
|
||||
|
||||
|
||||
def is_comment(line: str) -> bool:
|
||||
|
||||
Referencia en una nueva incidencia
Block a user