Skip to content

Commit cfec184

Browse files
committed
Merge branch 'master' of github.com:akshatgit/Sticky-Notes
2 parents 7db51b8 + 9c9ab1d commit cfec184

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/core/parser/language_parsers

src/core/parser/language_parsers/html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def parse(self, filename):
1010
with open(filename) as f:
1111
lines = f.readlines()
1212
for i in range(0, len(lines)):
13-
if "#" in lines[i]: # since comment can be after the code as well
13+
if "<!--" in lines[i]: # since comment can be after the code as well
1414
stripedLine = lines[i][lines[i].find("<!--"):].strip().lower()
1515
if "todo" in stripedLine:
1616
todo = Todo(todo_header=stripedLine[stripedLine.find("todo")+4:].strip().rstrip("-->"), todo_body=None, file_path=filename, line_no=i+1)

0 commit comments

Comments
 (0)