aboutsummaryrefslogtreecommitdiffstats
path: root/stella.js
diff options
context:
space:
mode:
Diffstat (limited to 'stella.js')
-rw-r--r--stella.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/stella.js b/stella.js
index 83ce665..accc881 100644
--- a/stella.js
+++ b/stella.js
@@ -497,7 +497,7 @@ Thanks:
}
function replaceHTML (s)
- s.replace(/<br>/g, '<br />').replace(/&nbsp;/g, ' ');
+ s.replace(/<br>/g, '<br />').replace(/&nbsp;/g, '<span style="margin-left: 0.5em"></span>');
return replaceHTML(createHTMLDocument(html).documentElement.innerHTML);
}