Skip to content

Commit

Permalink
Merge branch 'master' of github.com:akshatgit/Sticky-Notes
Browse files Browse the repository at this point in the history
  • Loading branch information
djmgit committed Sep 13, 2020
2 parents 7db51b8 + 9c9ab1d commit cfec184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/parser/language_parsers/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def parse(self, filename):
with open(filename) as f:
lines = f.readlines()
for i in range(0, len(lines)):
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
stripedLine = lines[i][lines[i].find("<!--"):].strip().lower()
if "todo" in stripedLine:
todo = Todo(todo_header=stripedLine[stripedLine.find("todo")+4:].strip().rstrip("-->"), todo_body=None, file_path=filename, line_no=i+1)
Expand Down

0 comments on commit cfec184

Please sign in to comment.