Skip to content

Commit 2bf3910

Browse files
authored
Merge pull request #152 from shwaka/master
Set appropriate encoding for source_map
2 parents cf574f7 + 7e2cdb5 commit 2bf3910

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/sassc/engine.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def render
5656
@source_map = Native.context_get_source_map_string(context)
5757

5858
css.force_encoding(@template.encoding)
59+
@source_map.force_encoding(@template.encoding) if @source_map.is_a?(String)
5960

6061
return css unless quiet?
6162
ensure

0 commit comments

Comments
 (0)