lib/nilac/compile_heredocs.rb in nilac-0.0.4.3.9.7.1 vs lib/nilac/compile_heredocs.rb in nilac-0.0.4.3.9.8
- old
+ new
@@ -42,9 +42,11 @@
replacement_string = heredoc_extract.lstrip.inspect
end
+ replacement_string = replacement_string.gsub("\\#","#")
+
joined_file_contents = joined_file_contents.sub(heredoc + heredoc_extract + delimiter, replacement_string)
end
file_id = open(temporary_nila_file, 'w')
\ No newline at end of file