Unified · Split
| @@ -90,7 +90,7 @@ module Docs · 89 unmodified lines | ||
| 90 | 90 | css('svg *[style], svg *[fill]').each do |node| |
| 91 | 91 | next if slug == 'geopoly' |
| 92 | 92 | # transform style in SVG diagrams, e.g. on https://sqlite.org/lang_insert.html |
| 93 | − if node['style'] == 'fill:rgb(0,0,0)' or node['fill'] == 'rgb(0,0,0)' | |
| 93 | + if (node['style'] or '').starts_with?('fill:rgb(0,0,0)') or node['fill'] == 'rgb(0,0,0)' | |
| 94 | 94 | node.add_class('fill') |
| 95 | 95 | node.remove_attribute('fill') |
| 96 | 96 | elsif node['style'] == 'fill:none;stroke-width:2.16;stroke:rgb(0,0,0);' |
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Sqlite < UrlScraper |
| 3 | 3 | self.name = 'SQLite' |
| 4 | 4 | self.type = 'sqlite' |
| 5 | − self.release = '3.47.0' | |
| 5 | + self.release = '3.49.1' | |
| 6 | 6 | self.base_url = 'https://sqlite.org/' |
| 7 | 7 | self.root_path = 'docs.html' |
| 8 | 8 | self.initial_paths = %w(keyword_index.html) |