[2.3.4] replace_html render rjs template instead of html

I have two partials with the same base name, one for html and one for
rjs:

_page_tags.html.erb
_page_tags.rjs

In the .rjs template, I make this call to render the .html partial to
replace the contents of a tag:

page.replace_html(“page_tags”, :partial => ‘page_tags’)

The problem is - it renders the .rjs template, which causes infinite
recursion and out-of-memory a few seconds later.

I can prevent this by calling replace_html with the full
filename+extension:

page.replace_html(“page_tags”, :partial => ‘page_tags.html.erb’)

However, this same code worked fine on Rails 2.1. I am currently
upgrading to 2.3.4 and that’s when it broke. Is this an intentional
change in Rails? I was unable to find any information related to this
behavior.

Any insights on this are appreciated.

-Eivind