diff --git a/init.lua b/init.lua index 31d272b..a5bfebe 100644 --- a/init.lua +++ b/init.lua @@ -132,12 +132,8 @@ function advmarkers.display_formspec() if name == selected_name then selected = id end - name = minetest.formspec_escape(name) - if name:sub(1, 1) == '#' then - name = '#' .. name - end formspec_list[#formspec_list + 1] = name - formspec = formspec .. name + formspec = formspec .. '##' .. minetest.formspec_escape(name) end end