We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de72c30 commit 744ed6bCopy full SHA for 744ed6b
app/helpers/opal_helper.rb
@@ -11,7 +11,7 @@ def opal_tag(opal_code_or_options = nil, html_options = {}, &block)
11
compiler = Opal::Compiler.new(opal_code_or_options, compiler_options)
12
js_code = compiler.compile
13
javascript_tag html_options do
14
- js_code
+ js_code.html_safe
15
end
16
17
0 commit comments