rendered paste bodyThe code below is being returned in response to a POST call (this is Ruby on Rails RJS stuff):
try {
Element.update("embedded-task", "<h3>Tasks</h3>\n<h4><a href=\"/tasks/new\" class=\"rnew new-link\" id
=\"new_link-task\">New Task</a> </h4>\n\n<div id='rnew-task'></div>\n\n\n\n\n<table class=\"admin\"
id=\"table-task\"> \n\t<thead>\n\t <tr>\n\t \n\t <th>Title</th>\n\t \n\t <th>Description
</th>\n\t \n\t </tr>\n </thead>\n <tbody id='list-task'>\n \n </tbody>\n</table> \n\n\n\n\n\n
\n");
Progress.removeAll()
} catch (e) { alert('RJS error:\n\n' + e.toString()); alert('Element.update(\"embedded-task\", \"<h3
>Tasks</h3>\\n<h4><a href=\\\"/tasks/new\\\" class=\\\"rnew new-link\\\" id=\\\"new_link-task\\\">New
Task</a> </h4>\\n\\n<div id=\'rnew-task\'></div>\\n\\n\\n\\n\\n<table class=\\\"admin\\\" id=\\\"table-task
\\\"> \\n\\t<thead>\\n\\t <tr>\\n\\t \\n\\t <th>Title</th>\\n\\t \\n\\t <th>Description
</th>\\n\\t \\n\\t </tr>\\n </thead>\\n <tbody id=\'list-task\'>\\n \\n </tbody>\\n</table>
\\n\\n\\n\\n\\n\\n\\n\");\nProgress.removeAll()'); throw e }