Chciałbym powrócić HTML zawartości poprzez JBuildera:powrócić Niecytowany html z JBuildera
json.array!(@articles) do |article|
json.extract! article, :id, :title, :html_content
end
Ale to powróci uciekł HTML:
{
"id": 2,
"title": "",
"html_content": "\u003cp\u003e\u003cimg alt=\"\" src=\"#\" /\u003e\u003c/p\u003e\r\n"
}
Jak może powrócić Niecytowany html?