diff options
Diffstat (limited to 'js/lib/html.js')
-rw-r--r-- | js/lib/html.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/html.js b/js/lib/html.js index e39b4ac..608193d 100644 --- a/js/lib/html.js +++ b/js/lib/html.js @@ -60,7 +60,7 @@ var renderNodes = function(block) { attrs = []; if (options.sourcepos) { - var pos = node.sourcepos; + var pos = node.sourcepos(); if (pos) { attrs.push(['data-sourcepos', String(pos[0][0]) + ':' + String(pos[0][1]) + '-' + String(pos[1][0]) + ':' + |