I would rather use a yield
and provide the content in a content_for
block.
In your partial:
%p Other content wrapping the block of text
= yield :text_block
%p Other content wrapping the block of text
Then in your view:
= content_for :text_block do
The content you need to insert goes here ...