Fix bulletpoints still adding to a string's width
This commit is contained in:
1 parent
2cbf11520a
commit
c1824732ee
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user