summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app/common/scripts')
-rw-r--r--src/web/app/common/scripts/text-compiler.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/web/app/common/scripts/text-compiler.js b/src/web/app/common/scripts/text-compiler.js
index a3c1fe8dde..3ff617484b 100644
--- a/src/web/app/common/scripts/text-compiler.js
+++ b/src/web/app/common/scripts/text-compiler.js
@@ -9,13 +9,10 @@ const escape = function(text) {
.replace(/</g, '&lt;');
};
-module.exports = function(tokens, shouldBreak, shouldEscape) {
+module.exports = function(tokens, shouldBreak) {
if (shouldBreak == null) {
shouldBreak = true;
}
- if (shouldEscape != null) {
- alert('do not use this option')
- }
const me = riot.mixin('i').me;