Skip to content

Commit

Permalink
feat: Improve header parsing by removing backslashes (#3352)
Browse files Browse the repository at this point in the history
  • Loading branch information
esolitos authored Sep 2, 2024
1 parent 0a1bc82 commit be7c2ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feed-split.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def split_text(soup):
if text:
data.append((id, header, text))
text = ""
header = line.lstrip("#")
header = line.lstrip("#").replace("\\", "")
id = "-".join(header.replace(',', '').split()).lower()
else:
text = text + "\n" + line
Expand Down

0 comments on commit be7c2ff

Please sign in to comment.