We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7db51b8 + 9c9ab1d commit cfec184Copy full SHA for cfec184
1 file changed
src/core/parser/language_parsers/html.py
@@ -10,7 +10,7 @@ def parse(self, filename):
10
with open(filename) as f:
11
lines = f.readlines()
12
for i in range(0, len(lines)):
13
- if "#" in lines[i]: # since comment can be after the code as well
+ if "<!--" in lines[i]: # since comment can be after the code as well
14
stripedLine = lines[i][lines[i].find("<!--"):].strip().lower()
15
if "todo" in stripedLine:
16
todo = Todo(todo_header=stripedLine[stripedLine.find("todo")+4:].strip().rstrip("-->"), todo_body=None, file_path=filename, line_no=i+1)
0 commit comments