diff --git a/node/utils/ImportHtml.js b/node/utils/ImportHtml.js
index c0d38fe5..6441708e 100644
--- a/node/utils/ImportHtml.js
+++ b/node/utils/ImportHtml.js
@@ -31,7 +31,7 @@ function setPadHTML(pad, html, callback)
var padText = pad.text();
// Parse the incoming HTML with jsdom
- var doc = jsdom(html.replace(/>\n+<');
+ var doc = jsdom(html.replace(/>\n+<'));
apiLogger.debug('html:');
apiLogger.debug(html);