sorry rubocop

This commit is contained in:
Neil Lalonde 2018-01-30 14:37:15 -05:00
parent 1ccd77086b
commit cc830f7119
1 changed files with 1 additions and 3 deletions

View File

@ -308,7 +308,6 @@ EOM
end
end
def import_categories
puts "", "importing categories..."
@ -785,7 +784,7 @@ EOM
raw.gsub!(/<br>/, "\n\n")
raw.gsub!(/<br \/>/, "\n\n")
raw.gsub!(/<p>&nbsp;<\/p>/, "\n\n")
raw.gsub!(/\[hr\]/,"\n***\n")
raw.gsub!(/\[hr\]/, "\n***\n")
raw.gsub!(/&#39;/, "'")
raw.gsub!(/\[url="(.+?)"\]http.+?\[\/url\]/, "\\1\n")
raw.gsub!(/\[media\](.+?)\[\/media\]/, "\n\\1\n\n")
@ -895,7 +894,6 @@ EOM
b.name = 'div'
end
@doc.css('object param embed').each do |embed|
embed.replace("\n#{embed['src']}\n")
end