Commit 26424b41 by doszhang

dos

parent 1938d320
...@@ -761,7 +761,7 @@ function createList(target, flag, no, wrapNum = 0) { ...@@ -761,7 +761,7 @@ function createList(target, flag, no, wrapNum = 0) {
const tLen = calculateStringLength(flag[i]); const tLen = calculateStringLength(flag[i]);
if (nowLen + tLen <= wn) { if (nowLen + tLen <= wn) {
res += flag[i]; res += flag[i];
nowLen++; nowLen += tLen;
} else { } else {
res = res + '<br/>' + flag[i]; res = res + '<br/>' + flag[i];
nowLen = 0; nowLen = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment