Skip to content

Commit

Permalink
Add in https
Browse files Browse the repository at this point in the history
  • Loading branch information
ted-gould committed Nov 19, 2014
1 parent a15d36a commit a4d4bdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tomboy/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def fixNode(cls, node):
node.setAttribute('href', getText(node.childNodes))
if node.tagName in ('link:url',):
if getText(node.childNodes).startswith('http:') or \
getText(node.childNodes).startswith('https:') or \
getText(node.childNodes).startswith('ftp:'):
node.tagName = 'a'
node.setAttribute('href', getText(node.childNodes))
Expand Down

0 comments on commit a4d4bdc

Please sign in to comment.