Change lines[i] to line

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-05-18 14:26:56 +05:30
parent 1d63799c9b
commit 72f58b6001

View file

@ -21,7 +21,7 @@ export function parsePlainBody(body) {
for (let i = 0; i < lines.length; i += 1) { for (let i = 0; i < lines.length; i += 1) {
const line = lines[i]; const line = lines[i];
if (line.length) { if (line.length) {
linkify(lines[i], linkifyCallback); linkify(line, linkifyCallback);
} }
const isLastLine = i >= (lines.length - 1); const isLastLine = i >= (lines.length - 1);
if (!isLastLine) { if (!isLastLine) {