Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

rdoc links to symbols not rendered into html properly

#1228

The html generated by rdoc for rails is incorrrect when processing a link to a symbol.

For example the rdoc in the source file:

activerecord/lib/active_record/base.rb

for the with_scope method has this section:


  # *Note*: the +:find+ scope also has effect on update and deletion methods,
  # like +update_all+ and +delete_all+.

Rdoc creates links for all three terms bracketed by "+" characters but the html generated for:


  +:find+

looks like this:


  +:<a href="Base.html#M001977">find</a>+

instead of this:


  <a href="Base.html#M001977">:find</a>

The html rendered for the entire paragraph looks like this:


  <p>
  <b>Note</b>: the +:<a href="Base.html#M001977">find</a>+ scope also has
  effect on <a href="Base.html#M001984">update</a> and deletion methods, like
  <tt><a href="Base.html#M001987">update_all</a></tt> and <tt><a
  href="Base.html#M001989">delete_all</a></tt>.
  </p>

Reported by Stephen Bannasch · October 16th, 2008 @ 04:42 PM

State: wontfix
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. josh
    josh
    • State changed from new to wontfix

    If you fork docrails and pull request Pratik, he'll get it in for you.

    http://github.com/lifo/docrails/...

    December 20th, 2008 @ 05:33 PM