aboutsummaryrefslogtreecommitdiffstats
path: root/chrome-get-urls-from-tabs-in-windows.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome-get-urls-from-tabs-in-windows.js')
-rw-r--r--chrome-get-urls-from-tabs-in-windows.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome-get-urls-from-tabs-in-windows.js b/chrome-get-urls-from-tabs-in-windows.js
index 90682f2..fc1616e 100644
--- a/chrome-get-urls-from-tabs-in-windows.js
+++ b/chrome-get-urls-from-tabs-in-windows.js
@@ -21,7 +21,7 @@ generate_backup_text = function(callback) {
backup_text += "- Window " + w_index + ":\n";
window.tabs.forEach(function(tab){
- backup_text += " - page_title: '" + tab.title.replace('\'', '\'\'') + "'\n";
+ backup_text += " - page_title: '" + tab.title.replace(/\'/g, '\'\'') + "'\n";
backup_text += " url: '" + tab.url + "'\n";
});