ensure that 'text' is a string
This commit is contained in:
parent
2f2ab4392c
commit
c267dd6a88
@ -190,7 +190,7 @@ define([
|
||||
var getHeadingText = function () {
|
||||
var lines = editor.getValue().split(/\n/);
|
||||
|
||||
var text;
|
||||
var text = '';
|
||||
lines.some(function (line) {
|
||||
// lisps?
|
||||
var lispy = /^\s*(;|#\|)(.*?)$/;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user