From d17f103e359f5570793ccdc9ffdda070ceb33c01 Mon Sep 17 00:00:00 2001 From: Pepijn Van Eeckhoudt Date: Sun, 13 Oct 2024 21:21:58 +0200 Subject: [PATCH] Ensure gnuplot source always ends with a newline --- lib/asciidoctor-diagram/gnuplot/converter.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/asciidoctor-diagram/gnuplot/converter.rb b/lib/asciidoctor-diagram/gnuplot/converter.rb index d7435140..b15e4117 100644 --- a/lib/asciidoctor-diagram/gnuplot/converter.rb +++ b/lib/asciidoctor-diagram/gnuplot/converter.rb @@ -55,6 +55,7 @@ def convert(source, format, options) code << "\n" code << source.to_s + code << "\n" generate_stdin_stdout(source.find_command('gnuplot'), code) do |tool| {