summaryrefslogtreecommitdiff
path: root/support/make4ht/make4ht-indexing.lua
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-09-08 03:02:12 +0000
committerNorbert Preining <norbert@preining.info>2020-09-08 03:02:12 +0000
commitbc2d0660f4f460b55009ab4e525f2a0e4cde6187 (patch)
treed35815089faf23c45f4f21690e42cfcc7c65a5fd /support/make4ht/make4ht-indexing.lua
parent57edbaffbe7daad894e3036a4123acd03e0fdb9b (diff)
CTAN sync 202009080302
Diffstat (limited to 'support/make4ht/make4ht-indexing.lua')
-rw-r--r--support/make4ht/make4ht-indexing.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/make4ht/make4ht-indexing.lua b/support/make4ht/make4ht-indexing.lua
index a86fd139aa..eb9c9b5017 100644
--- a/support/make4ht/make4ht-indexing.lua
+++ b/support/make4ht/make4ht-indexing.lua
@@ -75,7 +75,7 @@ local parse_idx = function(content)
if line:match("^\\beforeentry") then
-- increment index entry number
current_entry = current_entry + 1
- local file, dest = line:match("\\beforeentry{(.-)}{(.-)}")
+ local file, dest = line:match("\\beforeentry%s*{(.-)}{(.-)}")
map[current_entry] = {file = file, dest = dest}
elseif line:match("^\\indexentry") then
-- replace the page number with the current