require 'better_html/test_helper/safety_error' module BetterHtml module TestHelper module SafeLodashTester SAFETY_TIPS = <<-EOF ----------- The javascript snippets listed above do not appear to be escaped properly in their context. Here are some tips: Always use lodash's escape syntax inside a html tag: ^^^^ Always use JSON.stringify() for html attributes which contain javascript, like 'onclick', or twine attributes like 'data-define', 'data-context', 'data-eval', 'data-bind', etc:
^^^^^^^^^^^^^^ Never use