diff --git a/vendor/plugins/maruku/lib/maruku/output/s5/to_s5.rb b/vendor/plugins/maruku/lib/maruku/output/s5/to_s5.rb index a94ad14e..7a870ade 100644 --- a/vendor/plugins/maruku/lib/maruku/output/s5/to_s5.rb +++ b/vendor/plugins/maruku/lib/maruku/output/s5/to_s5.rb @@ -75,7 +75,7 @@ module MaRuKu slide_num += 1 @doc.attributes[:doc_prefix] = "s#{slide_num}" - puts "Slide #{slide_num}: " + slide.header_element.to_s +# puts "Slide #{slide_num}: " + slide.header_element.to_s div = Element.new('div', presentation) div.attributes['class'] = 'slide' diff --git a/vendor/plugins/maruku/lib/maruku/output/to_html.rb b/vendor/plugins/maruku/lib/maruku/output/to_html.rb index eb29e782..a4be677e 100644 --- a/vendor/plugins/maruku/lib/maruku/output/to_html.rb +++ b/vendor/plugins/maruku/lib/maruku/output/to_html.rb @@ -79,8 +79,8 @@ module MaRuKu; module Out; module HTML end - Xhtml10strict = " - + Xhtml10strict = +" \n" @@ -717,7 +717,7 @@ of the form `#ff00ff`. url = ref[:url] title = ref[:title] a.attributes['src'] = url.to_s - a.attributes['alt'] = title.to_s if not a.attributes['alt'] + a.attributes['alt'] = children_to_s else maruku_error"Could not find id = #{id.inspect} for\n #{self.inspect}" tell_user "Could not create image with ref_id = #{id.inspect};"+ @@ -737,7 +737,7 @@ of the form `#ff00ff`. title = self.title a = create_html_element 'img' a.attributes['src'] = url.to_s - a.attributes['alt'] = title.to_s if not a.attributes['alt'] + a.attributes['alt'] = children_to_s return a end