summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/shmin.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/shmin.sh b/tools/shmin.sh
index 2e402fa..f84e31d 100755
--- a/tools/shmin.sh
+++ b/tools/shmin.sh
@@ -143,6 +143,13 @@ minify()
esac
done
fi
+ if [ "x${c}" = 'x\' ]; then
+ # Backslash
+ buffer="${buffer}${c}"
+ fgetc
+ buffer="${buffer}${c}"
+ continue
+ fi
if [ "x${c}" = "x'" ]; then
# Single quotes
buffer="${buffer}${c}"