diff --git a/src/awesomewm.d.tl/scraper/init.lua b/src/awesomewm.d.tl/scraper/init.lua index d5d778a..6aa1cb2 100644 --- a/src/awesomewm.d.tl/scraper/init.lua +++ b/src/awesomewm.d.tl/scraper/init.lua @@ -94,11 +94,14 @@ local function process_item_header_type(node) end local function process_item_header(node) - local name = extract_first_node_or_fail(node, "strong") + local name_node = extract_first_node_or_fail(node, "strong") + + -- Remove starting ":" character on method name + local name = extract_inner_floating_text(name_node):gsub("^:", "") local type = process_item_header_type(node) local item_header = { - name = extract_inner_floating_text(name), + name = name, type = type, }