Skip to content

Commit 31787ad

Browse files
committed
dup passed template
1 parent ac003ab commit 31787ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sassc/engine.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def initialize(template, options = {})
1717
end
1818

1919
def render
20-
return @template if @template.empty?
20+
return @template.dup if @template.empty?
2121

2222
data_context = Native.make_data_context(@template)
2323
context = Native.data_context_get_context(data_context)

0 commit comments

Comments
 (0)