Skip to content
Snippets Groups Projects
Commit 0303c7e9 authored by echicken's avatar echicken
Browse files

Pass columns (console or Frame) to word_wrap for adequate girthiness.

parent 33f036d0
No related branches found
No related tags found
No related merge requests found
......@@ -284,7 +284,7 @@ WikiMarkup.prototype.render_line_console = function (line) {
var match;
const self = this;
var ret = word_wrap(this.render_text_console(line));
var ret = word_wrap(this.render_text_console(line), this.columns);
// Ordered and unordered lists
match = ret.match(/^(\s*)(\*|-)\s+(.+)$/m);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment