Print valid, non-escaped JSON in a view with Rails

前端 未结 4 581
春和景丽
春和景丽 2021-01-02 00:29

I\'ve tried everything. Every combination of the helpers raw, html_safe to_json including some attempts with ::JSON.encode

4条回答
提交回复
热议问题