This project is archived and is in readonly mode.
rdoc links to symbols not rendered into html properly
Reported by Stephen Bannasch | October 16th, 2008 @ 04:42 PM | in 2.x
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>
Comments and changes to this ticket
-
josh December 20th, 2008 @ 05:33 PM
- State changed from new to wontfix
If you fork docrails and pull request Pratik, he'll get it in for you.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
- Nobody is watching this ticket.