diff --git a/compile b/compile index d0a52d7749a4908d69586805bf4be5a141f73a97..1ae24f69d1f84b5eb6119a1f2bc6ccbb0b7a5a53 100755 --- a/compile +++ b/compile @@ -18,4 +18,7 @@ else ./devTools/tweeGo/tweego_nix86 -o bin/FC_pregmod.html src/config/start.tw fi +#Make the output prettier, replacing \t with a tab and \n with a newline +sed -i -e '/^.*<div id="store-area".*$/s/\\t/\t/g' -e '/^.*<div id="store-area".*$/s/\\n/\n/g' bin/FC_pregmod.html + rm -f src/config/start.tw diff --git a/compile-git b/compile-git index deb180dbb06854e3bfb862c7585c40a635732d58..ddcaaec22b0a60a750cb3dfee20eec34d98d4030 100755 --- a/compile-git +++ b/compile-git @@ -18,6 +18,9 @@ else ./devTools/tweeGo/tweego_nix86 -o bin/FC_pregmod_$HASH.html src/config/start.tw fi +#Make the output prettier, replacing \t with a tab and \n with a newline +sed -i -e '/^<div id="store-area".*$/s/\\t/\t/g' -e '/^<div id="store-area".*$/s/\\n/\n/g' bin/FC_pregmod.html + rm -f src/config/start.tw -echo "FC_pregmod_$HASH.html" compilation finished. \ No newline at end of file +echo "FC_pregmod_$HASH.html" compilation finished.