From c9bfc9bb43bf39e70d5e9a25054641817238a83e Mon Sep 17 00:00:00 2001 From: ocean Date: Fri, 13 Jan 2006 10:27:52 +0000 Subject: * lib/rdoc/diagram.rb: - properly quote bare element attributes - terminates dangling elements (e.g. ,
, , etc) - converts "CVS" to the more HTML-friendly acronym element - adds missing type attributes to style elements based on Paul Duncan's patch [ruby-core:7028] * lib/rdoc/generators/html_generator.rb: ditto. * lib/rdoc/generators/template/html/hefss.rb: ditto. * lib/rdoc/generators/template/html/html.rb: ditto. * lib/rdoc/generators/template/html/kilmer.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/generators/html_generator.rb | 2 +- lib/rdoc/generators/template/html/hefss.rb | 52 +++++++++++++-------------- lib/rdoc/generators/template/html/html.rb | 6 ++-- lib/rdoc/generators/template/html/kilmer.rb | 48 ++++++++++++------------- lib/rdoc/generators/template/html/old_html.rb | 6 ++-- 5 files changed, 57 insertions(+), 57 deletions(-) (limited to 'lib/rdoc/generators') diff --git a/lib/rdoc/generators/html_generator.rb b/lib/rdoc/generators/html_generator.rb index d263a14784..be79226c8e 100644 --- a/lib/rdoc/generators/html_generator.rb +++ b/lib/rdoc/generators/html_generator.rb @@ -153,7 +153,7 @@ module Generators if (type == "http" || type == "link") && url =~ /\.(gif|png|jpg|jpeg|bmp)$/ - "" + "" else "#{text.sub(%r{^#{type}:/*}, '')}" end diff --git a/lib/rdoc/generators/template/html/hefss.rb b/lib/rdoc/generators/template/html/hefss.rb index ff4f557b71..e68ca85823 100644 --- a/lib/rdoc/generators/template/html/hefss.rb +++ b/lib/rdoc/generators/template/html/hefss.rb @@ -114,7 +114,7 @@ BODY = %{ %title% - +