Files
meteor/packages/webapp/webapp_client_tests.js
David Glasser d4d349ca96 Don't overly escape Meteor.settings.public
Fixes #3730.

Testing Done:
Manual testing based on the report in #3730. Also confirmed that `</script>` is not a problem.

I would have added a test-packages test but there's no easy way to override Meteor.settings in test-packages.

Bugs closed: 3730

Reviewed at https://rbcommons.com/s/meteor/r/1/
2015-02-17 18:01:01 -08:00

6 lines
228 B
JavaScript

// Regression test for #3730
Tinytest.add("webapp - runtime config", function (test) {
test.equal(__meteor_runtime_config__.WEBAPP_TEST_A, '<p>foo</p>');
test.equal(__meteor_runtime_config__.WEBAPP_TEST_B, '</script>');
});