Disable HTML escaping in erb templates July 27, 2023 by Tarik Try using raw(somePost.content). Alternatively, somePost.content.html_safe.