diff --git a/scripts/generate_version_showcase.ex b/scripts/generate_version_showcase.ex index 029f355..60a2d3c 100644 --- a/scripts/generate_version_showcase.ex +++ b/scripts/generate_version_showcase.ex @@ -251,7 +251,7 @@ defmodule Scripts.GenerateVersionShowcase do full_file_path = Path.join(full_dir_path, file_name) iframe_src = "/#{relative_dir_path}/#{file_name}" - iframe_srcdoc = ~s(#{iframe_src}#{Enum.join([extra_html, result]) |> String.replace("\n", "")}) + iframe_srcdoc = ~s(#{iframe_src}#{Enum.join([extra_html, result])}) File.mkdir_p(full_dir_path) File.write!(full_file_path, iframe_srcdoc)