<% require 'rubygems' require 'hpricot' %>
<% # chargement/modification du rapport rcov doc = Hpricot(File.read("#{Continuous4r::WORK_DIR}/rcov/coverage/index.html")) doc.search('//a') do |link| if link.inner_text.index('rcov').nil? link.swap("#{link.inner_text}") end end %>

Rcov Results

<%= doc.search("style")[1].to_html %> <%= (doc/"body").inner_html %>