diff options
-rw-r--r-- | doc/faq/faq.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/faq/faq.rb b/doc/faq/faq.rb index 13d29e4..130f712 100644 --- a/doc/faq/faq.rb +++ b/doc/faq/faq.rb @@ -52,7 +52,7 @@ def process_faq_list_item( faq ) puts question_text process_faq_list answer else - print "<a href='##{question.id}'>#{question_text}</a>" + print "<a href='##{question.object_id}'>#{question_text}</a>" end puts "</li>" @@ -75,7 +75,7 @@ def process_faq_description( faq, path ) title = RedCloth.new( path ).to_html.gsub( %r{</?p>}, "" ) answer = RedCloth.new( answer || "" ) - puts "<a name='#{question.id}'></a>" + puts "<a name='#{question.object_id}'></a>" puts "<div class='faq-title'>#{title}</div>" puts "<div class='faq-answer'>#{add_api_links(answer.to_html)}</div>" end |