lib/parade/renderers/columns_renderer.rb in parade-0.8.0 vs lib/parade/renderers/columns_renderer.rb in parade-0.8.1
- old
+ new
@@ -26,12 +26,10 @@
end
def render(content)
html = Nokogiri::XML.fragment(content)
- parser = CommandlineParser.new
-
- html.css(".#{css_class}").each do |slide|
+ html.css(".content.#{css_class}").each do |slide|
columns = []
slop = []
chunks = slide.children.chunk {|child| child.name == html_element }
\ No newline at end of file