diff options
author | mguetlein <martin.guetlein@gmail.com> | 2011-01-13 15:18:45 +0100 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2011-01-13 15:18:45 +0100 |
commit | eeb0b6df2dbdae29ccf3f4ccd923002e0ed65506 (patch) | |
tree | c0b0956d5b107e613c3236ede71462fa7f18cf05 /report/xml_report.rb | |
parent | 5786ebd5095451e928d9811bd6bbd98af72de99d (diff) |
adjust to new wrapper, replace activerecord with datamapper (remove activerecord code), is_classification to feature_type
Diffstat (limited to 'report/xml_report.rb')
-rwxr-xr-x[-rw-r--r--] | report/xml_report.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/report/xml_report.rb b/report/xml_report.rb index 76844b3..46f2a67 100644..100755 --- a/report/xml_report.rb +++ b/report/xml_report.rb @@ -184,7 +184,7 @@ module Reports row = Element.new("row") r.each do |v| entry = Element.new("entry") - if auto_link_urls && v.to_s =~ /depict/ #PENDING + if auto_link_urls && v.to_s =~ /depict/ || v.to_s =~ /image$/ #PENDING add_image(entry, v.to_s) elsif auto_link_urls && v.to_s =~ /^http:\/\// add_url(entry, v.to_s, v.to_s) @@ -241,7 +241,7 @@ module Reports end end - @doc.write(out,2, true, true) + @doc.write(out) #,2, true, true) out.flush end |