summaryrefslogtreecommitdiff
path: root/tex/context/base/verb-tex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/verb-tex.lua')
-rw-r--r--tex/context/base/verb-tex.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/verb-tex.lua b/tex/context/base/verb-tex.lua
index dbb483ad5..ad72fb211 100644
--- a/tex/context/base/verb-tex.lua
+++ b/tex/context/base/verb-tex.lua
@@ -32,7 +32,7 @@ function buffers.visualizers.tex.flush_line(str,nested)
local byte, find = utf.byte, utf.find
local finish, change = buffers.finish_state, buffers.change_state
buffers.currentcolors = buffers.visualizers.tex.colors
- for c in string.utfcharacters(str) do
+ for c in str:utfcharacters() do
if c == " " then
if escaping then
result[#result+1] = " "