summaryrefslogtreecommitdiff
path: root/support/make4ht/domfilters/make4ht-joincolors.lua
diff options
context:
space:
mode:
Diffstat (limited to 'support/make4ht/domfilters/make4ht-joincolors.lua')
-rw-r--r--support/make4ht/domfilters/make4ht-joincolors.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/support/make4ht/domfilters/make4ht-joincolors.lua b/support/make4ht/domfilters/make4ht-joincolors.lua
index 94a3a054e6..730f66a7a0 100644
--- a/support/make4ht/domfilters/make4ht-joincolors.lua
+++ b/support/make4ht/domfilters/make4ht-joincolors.lua
@@ -1,4 +1,5 @@
local cssfiles = {}
+local log = logging.new "joincolors"
-- keep mapping between span ids and colors
@@ -45,7 +46,7 @@ local function process_css_files(dom)
for _, el in ipairs(dom:query_selector("link")) do
local href = el:get_attribute("href") or ""
if not cssfiles[href] and href:match("css$") then
- print("Load CSS file ", href)
+ log:debug("Load CSS file ", href)
cssfiles[href] = true
process_css(href)
end