On this page: http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html
The <%Q lines should be <%=, I think. The %Q< lines should be %>. What’s up with this?
On this page: http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html
The <%Q lines should be <%=, I think. The %Q< lines should be %>. What’s up with this?
Did a bit of investigation on this, as I’d been wondering what amazing new ERB feature I was missing out on by not using <%Q
Can’t find any mention of <%Q in docrails master, rails master, or rails 3-1-stable.
No commits on form_helper.rb have <%Q
I think it’s a doc parsing error. Should be easy to fix, right?
This seems to be an rdoc issue from 3.10 onwards. Please see https://github.com/rdoc/rdoc/issues/86
Great, thanks for the headsup Vijay.
This particular issue (<%Q) is fixed in RDoc 3.12.
I've seen another issue now in RDoc 3.12 and have opened a ticket
(https://github.com/rdoc/rdoc/issues/92). The HTML end tags are
wrongly parsed as regexps and are shown up as <%rdiv> for eg. This
doesn't happen in all the pages though. Let's hope this gets fixed too
in quick time