aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Ben Boeckel <MathStuf@gmail.com>2011-04-12 23:33:46 -0400
committerGravatar Ben Boeckel <MathStuf@gmail.com>2011-04-12 23:33:46 -0400
commite1bb5b44c16636b4ffc1cc14dbe1e23c0b0e63de (patch)
treeb03bfb31c37696e8699df31878f416bce2feb0b6 /examples
parente2b2a4831be5f682a5a59b642fde1ba1f1caa308 (diff)
Properly escape newlines
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/data/scripts/formfiller.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/data/scripts/formfiller.sh b/examples/data/scripts/formfiller.sh
index 435a114..14853c7 100755
--- a/examples/data/scripts/formfiller.sh
+++ b/examples/data/scripts/formfiller.sh
@@ -81,7 +81,7 @@ ParseFields ()
sub ( /^\\/, "" )
gsub ( /"/, "\\\"" )
gsub ( /\\/, "\\\\" )
- field = field $0 "\\n"
+ field = field $0 "\\\\n"
}
printf( "js uzbl.formfiller.insert(\"%s\",\"%s\",\"%s\",0);\n",
parts[1], parts[2], field )