sorry rubocop
This commit is contained in:
parent
1ccd77086b
commit
cc830f7119
|
@ -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> <\/p>/, "\n\n")
|
||||
raw.gsub!(/\[hr\]/,"\n***\n")
|
||||
raw.gsub!(/\[hr\]/, "\n***\n")
|
||||
raw.gsub!(/'/, "'")
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue