Skip to content

Commit

Permalink
Remove deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
mbadolato committed Feb 8, 2021
1 parent 3845046 commit 332c1d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/genHTML
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby

require 'uri'
require 'cgi'

# Levenshtein distance implementation taken from:
# https://stackoverflow.com/a/16323861/155351
Expand Down Expand Up @@ -84,8 +84,8 @@ end
build_screenshot_scheme_map.reject{|pair| pair.last.nil?}.each do |screenshot_name, scheme_name|
puts <<-HTML
<p><a href="https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/#{URI.escape(scheme_name)}.itermcolors"><strong>#{scheme_name}</strong></a></p>
<p><a href="https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/#{CGI.escape(scheme_name)}.itermcolors"><strong>#{scheme_name}</strong></a></p>
<p><img src="https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/screenshots/#{URI.escape(screenshot_name)}.png" alt="Screenshot"></p>
<p><img src="https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/screenshots/#{CGI.escape(screenshot_name)}.png" alt="Screenshot"></p>
HTML
end

0 comments on commit 332c1d6

Please sign in to comment.