This commit is contained in:
Chi Vinh Le
2017-09-12 20:55:31 +07:00
parent 65a6c408a7
commit ee3cee2a50
@@ -22,7 +22,7 @@ function markWords(body, words, keyPrefix) {
return content;
}
// markWords looks for links inside `body` and highlights them by returning
// markLinks looks for links inside `body` and highlights them by returning
// an array of React Elements.
function markLinks(body) {
const tokens = body.split(linkRegexp);