Make to_sentence use safe_join or maybe have safe_to_sentence?

If I do something like:

p= { |room| link_to(room.to_s, room) }.to_sentence

I get:

<p>&lt;a href="/rooms/15"&gt;Général&lt;/a&gt; et &lt;a href="/rooms/16"&gt;Aléatoire&lt;/a&gt;</p>

e.g. it gets escaped.

Wouldn’t it be nice if to_sentence was safe by using safe_join, or that we had a safe_to_sentence?

What do you think?

Should have googled it, it exists ruby on rails - to_sentence and html_safe, together? - Stack Overflow