nikolalsvk / render_async

render_async lets you include pages asynchronously with AJAX
https://rubygems.org/gems/render_async/
MIT License
1.08k stars 75 forks source link

Use double quotes for displaying error message #95

Closed nikolalsvk closed 5 years ago

nikolalsvk commented 5 years ago

It fixes the case when error message has single quotes in it which would cause syntax error in JavaScript.