Skip to content
Snippets Groups Projects
Verified Commit 7b5285f3 authored by Stefan Hynek's avatar Stefan Hynek :drooling_face:
Browse files

fix(fix-whitepace): strip empty lines only; preserve newlines

this is an attempt to preserve newlines in order to have better log output

BREAKING CHANGE: context does no longer run through and produces weird errors/error messages

closes #129
parent 1d2cf6e5
No related branches found
No related tags found
1 merge request!48Draft: Resolve "preserve linebreaks"
Pipeline #164226 passed
......@@ -37,7 +37,7 @@ my $head = "";
my $tail = decode('UTF-8', read_file("tmp/" . $ARGV[0] . "_tmp-1.tex"));
$tail =~ s/\s+/ /g;
$tail =~ s/\n\s*\n//g;
$tail =~ s/ +/ /g;
$tail =~ s/ ~/~/g;
$tail =~ s/~ /~/g;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment