From b53eb64d0204609fbfdacabc2ebcb6e5c736aefa Mon Sep 17 00:00:00 2001 From: Angelika Tyborska Date: Mon, 8 Jul 2024 13:19:04 +0200 Subject: [PATCH] No need to exchange newlines anymore --- scripts/generate_version_showcase.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)