mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 17:14:01 +02:00
* backport r32935 from trunk
* lib/rdoc: Import RDoc 3.9.2. Fixes TIDYLINK for HTML output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6de14984a5
commit
a750006eda
4 changed files with 14 additions and 2 deletions
|
@ -74,7 +74,7 @@ class RDoc::Markup::ToHtml < RDoc::Markup::Formatter
|
|||
@markup.add_special(/((link:|https?:|mailto:|ftp:|www\.)\S+\w)/, :HYPERLINK)
|
||||
|
||||
# and links of the form <text>[<url>]
|
||||
@markup.add_special(/(((\{.*?\})|\b\S+?)\[\S+?\.\S+?\])/, :TIDYLINK)
|
||||
@markup.add_special(/(((\{.*?\})|\b\S+?)\[\S+?\])/, :TIDYLINK)
|
||||
|
||||
init_tags
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue