From: Chris Alfeld Date: 2006-03-29T06:52:16+09:00 Subject: Re: RDoc patch - 3863 & 3930 ------=_Part_13984_31516234.1143582720286 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > Thank you for the patch, but could you repost it in unified diff > format from diff -u before we examine the fix? Certainly. This is diffed to the latest CVS copy: diff -u html_generator.rb html_generator.rb.new > ~/patch3863_3930.udiff --- html_generator.rb=092006-03-28 15:50:20.000000000 -0600 +++ html_generator.rb.new=092006-03-28 11:45:29.000000000 -0600 @@ -216,7 +216,7 @@ :CROSSREF) # external hyperlinks - @markup.add_special(/((link:|https?:|mailto:|ftp:|www\.)\S+\w)/, :HYPERLINK) + @markup.add_special(/((link:|https?:|mailto:|ftp:|www\.)\S+[\w\/])= /, :HYPERLINK) # and links of the form [] @markup.add_special(/(((\{.*?\})|\b\S+?)\[\S+?\.\S+?\])/, :TIDYLIN= K) @@ -997,7 +997,8 @@ if p !~ /^\w/ p =3D @context.params.gsub(/\s*\#.*/, '') p =3D p.tr("\n", " ").squeeze(" ") - p =3D "(" + p + ")" unless p[0] =3D=3D ?( + p =3D "(" + p unless p[0] =3D=3D ?( + p =3D p + ")" unless p[-1] =3D=3D ?) if (block =3D @context.block_params) # If this method has explicit block parameters, remove any ------=_Part_13984_31516234.1143582720286 Content-Type: application/octet-stream; name=patch3863_3930.udiff Content-Transfer-Encoding: 7bit X-Attachment-Id: f_ijn7l8 Content-Disposition: attachment; filename="patch3863_3930.udiff" --- html_generator.rb 2006-03-28 15:50:20.000000000 -0600 +++ html_generator.rb.new 2006-03-28 11:45:29.000000000 -0600 @@ -216,7 +216,7 @@ :CROSSREF) # external hyperlinks - @markup.add_special(/((link:|https?:|mailto:|ftp:|www\.)\S+\w)/, :HYPERLINK) + @markup.add_special(/((link:|https?:|mailto:|ftp:|www\.)\S+[\w\/])/, :HYPERLINK) # and links of the form [] @markup.add_special(/(((\{.*?\})|\b\S+?)\[\S+?\.\S+?\])/, :TIDYLINK) @@ -997,7 +997,8 @@ if p !~ /^\w/ p = @context.params.gsub(/\s*\#.*/, '') p = p.tr("\n", " ").squeeze(" ") - p = "(" + p + ")" unless p[0] == ?( + p = "(" + p unless p[0] == ?( + p = p + ")" unless p[-1] == ?) if (block = @context.block_params) # If this method has explicit block parameters, remove any ------=_Part_13984_31516234.1143582720286--