Skip to content

Commit

Permalink
removed unused code, thx @felixfontein
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed May 7, 2017
1 parent 9b8c567 commit 892d136
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions nikola/shortcodes.py
Expand Up @@ -83,11 +83,7 @@ def _skip_nonwhitespace(data, pos):
for i, x in enumerate(data[pos:]):
if x.isspace():
return pos + i
while pos < len(data):
if data[pos].isspace():
break
pos += 1
return pos
return len(data)


def _parse_quoted_string(data, start):
Expand Down

0 comments on commit 892d136

Please sign in to comment.