summaryrefslogtreecommitdiff
path: root/tex/context/base/lpdf-wid.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/lpdf-wid.lua')
-rw-r--r--tex/context/base/lpdf-wid.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/lpdf-wid.lua b/tex/context/base/lpdf-wid.lua
index 1dd0a60d5..6caf2f6c4 100644
--- a/tex/context/base/lpdf-wid.lua
+++ b/tex/context/base/lpdf-wid.lua
@@ -121,7 +121,7 @@ end
function codeinjections.registercomment(specification)
nofcomments = nofcomments + 1
- local text = buffers.collect(specification.buffer)
+ local text = buffers.collectcontent(specification.buffer)
if stripleading then
text = gsub(text,"[\n\r] *","\n")
end