Error parse html on producion environment
Hi. i using rails 4.5, cell 4.0 and cell-slim,
#show.slim
p asdasds
but when i run app with production environment, browser display <p>asdasds</p>.
it run good on development environment
Similar to https://github.com/apotonick/cells/issues/305, I guess.
It would be interesting to see if that only happens in Rails, or if Slim and Cells also muck around in an isolated environment.
@apotonick Nice. problem was be resolved. thank for support.
How did you solve it, I wonder?
i need change
#_header.html.slim
= cell(:popup_info)
to
#_header.html.slim
= cell(:popup_info).to_s.html_safe
But that should be done automatically in rails.rb! https://github.com/apotonick/cells/blob/84cce1c2c62dc690190f31cb36504fda41287272/lib/cell/rails.rb#L54 :question:
@apotonick oh. I'm Stupid. I changed it
#_header.html.slim
= cell(:popup_info).()
thanks again. :)