diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-01-13 10:27:52 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-01-13 10:27:52 +0000 |
commit | c9bfc9bb43bf39e70d5e9a25054641817238a83e (patch) | |
tree | c2a1369794c508e5655fe922260be7617f969182 /lib/rdoc/generators/template/html/old_html.rb | |
parent | 016f0e0c84e616f17ddadd20ac783009332c5245 (diff) |
* lib/rdoc/diagram.rb:
- properly quote bare element attributes
- terminates dangling elements (e.g. <img>, <br>, <link>, etc)
- converts "CVS" to the more HTML-friendly acronym element
- adds missing type attributes to style elements
based on Paul Duncan's patch <[email protected]> [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
Diffstat (limited to 'lib/rdoc/generators/template/html/old_html.rb')
-rw-r--r-- | lib/rdoc/generators/template/html/old_html.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rdoc/generators/template/html/old_html.rb b/lib/rdoc/generators/template/html/old_html.rb index 9e0073c37e..ca66302a08 100644 --- a/lib/rdoc/generators/template/html/old_html.rb +++ b/lib/rdoc/generators/template/html/old_html.rb @@ -497,7 +497,7 @@ FILE_PAGE = <<_FILE_PAGE_ <td class="small-title-font">Path:</td> <td class="small-title-font">%full_path% IF:cvsurl - (<a href="%cvsurl%">CVS</a>) + (<a href="%cvsurl%"><acronym title="Concurrent Versioning System">CVS</acronym></a>) ENDIF:cvsurl </td> </tr> @@ -533,7 +533,7 @@ IF:full_path_url </a> ENDIF:full_path_url IF:cvsurl - (<a href="%cvsurl%">CVS</a>) + (<a href="%cvsurl%"><acronym title="Concurrent Versioning System">CVS</acronym></a>) ENDIF:cvsurl <br /> END:infiles @@ -570,7 +570,7 @@ SRC_PAGE = %{ <head> <meta http-equiv="Content-Type" content="text/html; charset=%charset%"> <title>%title%</title> -<link rel=StyleSheet href="%style_url%" type="text/css" media="screen" /> +<link rel="stylesheet" href="%style_url%" type="text/css" media="screen" /> </head> <body bgcolor="white"> <pre>%code%</pre> |