Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddyGuthridge committed Nov 25, 2023
1 parent baf0cf9 commit 33d6dfb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pyhtml/__util.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ def escape_string(text: str) -> str:
'>': '>',
'"': '"',
"'": ''',
# # Replace newlines with spaces, since they'll be rendered that way by
# # browsers
# '\n': ' ',
}
for k, v in replacements.items():
text = text.replace(k, v)
Expand Down

0 comments on commit 33d6dfb

Please sign in to comment.