lib/generators/templates/_error_dialog.js.erb in errational-0.7.1 vs lib/generators/templates/_error_dialog.js.erb in errational-0.8.16

- old
+ new

@@ -4,17 +4,17 @@ * where 'message' is the text from <%=file_name%>_error.rb * */ jQuery('body').append('<div id="errational_error_dialog"></div>'); jQuery('#errational_error_dialog') - .html('<%%= message %>') + .html('<%%= message.html_safe %>') .dialog( { minHeight: 'auto', height: 'auto', modal: true, dialogClass: 'errational_class', title: 'Error!', resizable: false, width: 450 } - ); \ No newline at end of file + );