Skip to content

Commit 057c1e4

Browse files
author
Ted Kulp
committed
Run output through html_safe beforehand
1 parent 457549c commit 057c1e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rails_datatables.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def datatable(columns, opts={})
6262
})#{append};
6363
});
6464
</script>
65-
}
65+
}.html_safe
6666
end
6767

6868
private

0 commit comments

Comments
 (0)