Change lines[i] to line
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
1d63799c9b
commit
72f58b6001
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Reference in a new issue