aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/scripts/formfiller.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/data/scripts/formfiller.js')
-rw-r--r--examples/data/scripts/formfiller.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/data/scripts/formfiller.js b/examples/data/scripts/formfiller.js
index 2eecebc..4470661 100644
--- a/examples/data/scripts/formfiller.js
+++ b/examples/data/scripts/formfiller.js
@@ -38,6 +38,7 @@ uzbl.formfiller = {
for( var k = 0; k < textareas.length; ++k ) {
var textarea = textareas[k];
rv += '%' + escape(textarea.name) + '(textarea):\n' + textarea.value.replace(/\n%/g,"\n\\%") + '\n%\n';
+ rv += '%' + escape(textarea.name) + '(textarea):\n' + textarea.value.replace(/\n\\/g,"\n\\\\").replace(/\n%/g,"\n\\%") + '%\n';
}
}
catch (err) { }