Skip to content

Commit

Permalink
Encode sourcemap with template encoding like sassc
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme authored Feb 21, 2025
1 parent d9fb607 commit a4cacf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sassc/embedded.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def source_map
end
end

JSON.fast_generate(data)
JSON.fast_generate(data).encode!(@template.encoding)
end

private
Expand Down

0 comments on commit a4cacf9

Please sign in to comment.