Merge lp:~roignac/gwibber/Bug333390 into lp:gwibber

Proposed by Vadim Rutkovsky
Status: Merged
Merged at revision: 831
Proposed branch: lp:~roignac/gwibber/Bug333390
Merge into: lp:gwibber
Diff against target: 12 lines (+1/-1)
1 file modified
gwibber/microblog/util/__init__.py (+1/-1)
To merge this branch: bzr merge lp:~roignac/gwibber/Bug333390
Reviewer Review Type Date Requested Status
gwibber-committers Pending
Review via email: mp+33337@code.launchpad.net

Description of the change

Fiz for lp:333390 - URLs with unicode symbols are now displayed as links

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'gwibber/microblog/util/__init__.py'
2--- gwibber/microblog/util/__init__.py 2010-08-08 02:46:31 +0000
3+++ gwibber/microblog/util/__init__.py 2010-08-22 18:35:55 +0000
4@@ -26,7 +26,7 @@
5 '){2,}' # at least two characters in the main url part
6 ')') % ('|'.join(URL_SCHEMES),)
7
8-PARSE_LINK = re.compile(URL_FORMAT)
9+PARSE_LINK = re.compile(URL_FORMAT, re.U)
10 PARSE_NICK = re.compile("\B@([A-Za-z0-9_]+|@[A-Za-z0-9_]$)")
11 PARSE_HASH = re.compile("\B#([A-Za-z0-9_\-]+|@[A-Za-z0-9_\-]$)")
12 PARSE_URLS = re.compile(r"<[^<]*?/?>")