handlebar_wax 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,15 +37,15 @@ module HandlebarWax
37
37
  %{
38
38
  js = ::HandlebarWax::TemplateHandler.js
39
39
  js['actionview'] = self
40
- js.eval("Templates['#{template.identifier}']").call(assigns.merge(local_assigns)).force_encoding(Encoding.default_external)
40
+ js.eval("Templates['#{template.identifier}']").call(assigns.merge(local_assigns)).force_encoding(Encoding.default_external).html_safe
41
41
  }
42
42
  else
43
43
  %{
44
44
  js = ::HandlebarWax::TemplateHandler.js
45
45
  js['actionview'] = self
46
- js.eval("Templates['#{template.identifier}']").call(assigns.merge(local_assigns))
46
+ js.eval("Templates['#{template.identifier}']").call(assigns.merge(local_assigns)).html_safe
47
47
  }
48
- end
48
+ end
49
49
  end
50
50
 
51
51
  end
@@ -1,3 +1,3 @@
1
1
  module HandlebarWax
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: handlebar_wax
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Burke Libbey