<!DOCTYPE html>
<html>
  <head>
    <meta content='text/html;charset=utf-8' http-equiv='content-type'>
  </head>
  <body class="error"><script type="application/x-json"><%= data.to_json %></script></body>
</html>

<!DOCTYPE html>
<html>
  <head>
    <meta content='text/html;charset=utf-8' http-equiv='content-type'>
  </head>
  <body class="error"><script type="application/x-json"><%= data.to_json.html_safe %></script></body>
</html>

Fix many issue where response sent over iframe are escaped
Fix many issue where response sent over iframe are escaped
