mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	@@ -410,6 +410,11 @@
 | 
			
		||||
      "<p>%s</p>",
 | 
			
		||||
      "t.co"
 | 
			
		||||
    ],
 | 
			
		||||
    [
 | 
			
		||||
      "readme.md",
 | 
			
		||||
      "<p>readme.md</p>",
 | 
			
		||||
      "readme.md"
 | 
			
		||||
    ],
 | 
			
		||||
    [
 | 
			
		||||
      "go to views.org please",
 | 
			
		||||
      "<p>go to %s please</p>",
 | 
			
		||||
 
 | 
			
		||||
@@ -71,8 +71,8 @@ def unescape(s):
 | 
			
		||||
 | 
			
		||||
def list_of_tlds():
 | 
			
		||||
    # type: () -> List[Text]
 | 
			
		||||
    # HACK we manually blacklist .py
 | 
			
		||||
    blacklist = [u'PY\n', ]
 | 
			
		||||
    # HACK we manually blacklist a few domains
 | 
			
		||||
    blacklist = [u'PY\n', u"MD\n"]
 | 
			
		||||
 | 
			
		||||
    # tlds-alpha-by-domain.txt comes from http://data.iana.org/TLD/tlds-alpha-by-domain.txt
 | 
			
		||||
    tlds_file = os.path.join(os.path.dirname(__file__), 'tlds-alpha-by-domain.txt')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user