Skip to content
This repository was archived by the owner on May 15, 2023. It is now read-only.

Commit 83505ca

Browse files
committed
fixes issue
1 parent ec78495 commit 83505ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/html2js.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var TEMPLATE = '' +
66
'window.__html__[\'%s\'] = \'%s\'';
77

88
var escapeContent = function(content) {
9-
return content.replace(/'/g, '\\\'').replace(/\r?\n/g, '\\n\' +\n \'');
9+
return content.replace(/'/g, '\\\'').replace(/\r?\n/g, '');
1010
};
1111

1212
var createHtml2JsPreprocessor = function(logger, basePath) {

0 commit comments

Comments
 (0)