lib/html_parser.rb in old_style-1.4.1 vs lib/html_parser.rb in old_style-1.4.2
- old
+ new
@@ -4,10 +4,9 @@
def read_html file
File.readlines(file)
end
def remove_extras file
- #the whitespace first
read_html(file).map {|line| line.delete(" <%>:=''\"\"")}
end
def id_exists? tag, file
tag = tag.gsub('#', 'id')