diff --git a/lib/plates.js b/lib/plates.js index eef59de..879c281 100644 --- a/lib/plates.js +++ b/lib/plates.js @@ -64,6 +64,7 @@ // // has an attribute who's value is a match. // + console.log(map[key]) if (matchedAttr[1] === map[key] && data[matchedAttr[2]]) { var idx = matchedTag.index + matchedTag[0].length; html = html.slice(0, idx) + data[matchedAttr[2]] + html.slice(idx);