]> git.phdru.name Git - phdru.name/phdru.name.git/commitdiff
More URL schemes.
authorOleg Broytman <phd@phdru.name>
Thu, 1 Jun 2006 19:54:36 +0000 (19:54 +0000)
committerOleg Broytman <phd@phdru.name>
Thu, 1 Jun 2006 19:54:36 +0000 (19:54 +0000)
git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@51 7bb0bf08-9e0d-0410-b083-99cee3bf18b8

phd_pp.py

index 08b6bf6573a8f8ef29042196809480d7fac226d6..d1ad2a1374c87e9536884530dca46c4f0afa5d8d 100644 (file)
--- a/phd_pp.py
+++ b/phd_pp.py
@@ -6,7 +6,7 @@ from Cheetah.Template import Template
 
 urlchars         = r'[A-Za-z0-9/:@_%~#=&\.\-\?\+\$,]+'
 urlendchar       = r'[A-Za-z0-9/]'
-url              = r'["=]?((about|gopher|http|https|ftp|mailto|file):%s)' % \
+url              = r'["=]?((about|file|ftp|gopher|http|https|mailto|news|telnet):%s)' % \
                    (urlchars+urlendchar)
 
 def _url2href(match):