brew-aspell-dictionaries: brew style --fix.
parent
5c5485827c
commit
11ec1594b4
|
@ -12,8 +12,8 @@ languages = {}
|
|||
|
||||
URI.parse("#{dict_url}/0index.html").open do |content|
|
||||
content.each_line do |line|
|
||||
break if %r{^</table} =~ line
|
||||
next unless /^<tr><td><a/ =~ line
|
||||
break if %r{^</table}.match?(line)
|
||||
next unless /^<tr><td><a/.match?(line)
|
||||
|
||||
fields = line.split('"')
|
||||
lang = fields[1]
|
||||
|
|
Loading…
Reference in New Issue