diff --git a/eid_api.lua b/eid_api.lua index 017a9c1c..c9d42b61 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -752,7 +752,7 @@ function EID:replaceAllMarkupWithSpaces(text, checkBulletpoint) if checkBulletpoint then -- Check for the text to just be a bulletpoint icon, which should be considered as zero width -- (fixTextToWidth uses this function one word at a time) - if EID:getIcon(text) ~= EID.InlineIcons["ERROR"] and string.find(text, "{{.-}}")~=nil then + if EID:getIcon(text:gsub(" ", "")) ~= EID.InlineIcons["ERROR"] and string.find(text, "{{.-}}")~=nil then return "" end end