diff --git a/assets/javascripts/app/model.js b/assets/javascripts/app/model.js index 807b0ed4d5..0ee019dc6e 100644 --- a/assets/javascripts/app/model.js +++ b/assets/javascripts/app/model.js @@ -295,7 +295,7 @@ RB.Model = (function ($) { // execute script tags, that were attached to the sources obj.$.filter('script').each(function () { try { - $.globalEval($(this).text()); + $.globalEval($(this).html()); } catch (e) { }