haml / haml-rails

let your Gemfile do the talking
MIT License
1.04k stars 169 forks source link

Rails 7.0.4 + ActionText + Haml-Rails 2.1 #185

Open cpanderson opened 1 year ago

cpanderson commented 1 year ago

Hello, I'm seeing an ActionText render issue with haml-rails v2.1. It prints out the raw html and is not converted. v2.0.1 works fine.

has_rich_content :content

%div= note.content

v2.0.1...

this is a note

v2.1

<div class="trix-content"><div>this is a note</div></div>

I have confirmed that this works using an erb template and not a haml template.