Nested insert_html question

Hi

I am now facing one odd question. Here is the example.

one page, say foo.rhtml, I try to load partial content when user click "Load" button, so the code is

# foo.rhtml

Here is even more sample to re-produce the bug

<%=link_to_function "Load", do |page|

page.insert_html :bottom, 'current-item', (link_to_function("Test") do

page> page.alert('test') end)

end %>