From 3f350f1f0777d7725084436d96e06863c416f416 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Wed, 17 Nov 2021 22:10:46 -0500 Subject: [PATCH] =?utf8?q?Correction=20probl=C3=A8me=20avec=20symbole=20ne?= =?utf8?q?wline?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- gtx2tex.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/gtx2tex.pl b/gtx2tex.pl index c414dcd..668cdf5 100644 --- a/gtx2tex.pl +++ b/gtx2tex.pl @@ -685,6 +685,7 @@ sub includes{ while ( ){ if ( /{include:/ ) { #read only lines with an include directive + chomp; # avoid \n on last field s/({.*:)(.+)(})/\2/; print TMP "#$_\n#\n"; -- 2.20.1