Skip to content
Snippets Groups Projects
Commit 993b5aaa authored by echicken's avatar echicken
Browse files

word_wrap don't think it be like it is, but it do.

parent 0303c7e9
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), this.columns);
var ret = word_wrap(this.render_text_console(line), this.columns).replace(/\s*$/, '');
// 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