Skip to content

Commit 368aedc

Browse files
committed
Remove unnecessary logic
1 parent 6b1041f commit 368aedc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymdownx/snippets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def download(self, url):
220220
content = response.read()
221221

222222
# Process lines
223-
return [l.decode(self.encoding).rstrip('\r\n') for l in content.splitlines()]
223+
return [l.decode(self.encoding) for l in content.splitlines()]
224224

225225
def parse_snippets(self, lines, file_name=None, is_url=False):
226226
"""Parse snippets snippet."""

0 commit comments

Comments
 (0)