bugfix in 'summarize_story'
This commit is contained in:
parent
280cba80d6
commit
3e52b5a9f4
@ -367,11 +367,11 @@ module.exports = {
|
|||||||
} else if (linkTarget) {
|
} else if (linkTarget) {
|
||||||
summary.linkCount++
|
summary.linkCount++
|
||||||
} else {
|
} else {
|
||||||
summary.untype++
|
summary.untypeCount++
|
||||||
}
|
}
|
||||||
return summary
|
return summary
|
||||||
},
|
},
|
||||||
{ textLength: 0, wordCount: 0, imageCount: 0, videoCount: 0, file: 0, link: 0, untype: 0 }
|
{ textLength: 0, wordCount: 0, imageCount: 0, videoCount: 0, fileCount: 0, linkCount: 0, untypeCount: 0 }
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user