summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ftplugin/hackernews.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/hackernews.py b/ftplugin/hackernews.py
index 19bdf89..84acbea 100644
--- a/ftplugin/hackernews.py
+++ b/ftplugin/hackernews.py
@@ -208,7 +208,7 @@ def link(item_id=None, url=None, external=False):
e = b[y].find("]", loc)
url = b[y][a:e]
else:
- url = b[y][loc:]
+ url = b[y][loc+1:]
y += 1
while b[y].find("]") < 0:
if y != start: