fix escaping

This commit is contained in:
Albert Yi
2018-10-22 17:25:14 -07:00
parent 11e75aec2a
commit f4cafebd0f
2 changed files with 6 additions and 6 deletions

View File

@@ -81,9 +81,9 @@
<script>
$(function() {
window.Danbooru.mixpanelEvent("Post Search", {
"tags": <%= params[:tags].to_json %>,
"page": <%= params[:page].to_json %>,
"referer": <%= request.referer.to_json %>
"tags": <%= raw params[:tags].to_json %>,
"page": <%= raw params[:page].to_json %>,
"referer": <%= raw request.referer.to_json %>
});
});
</script>