Fixed Rendering issue with bulletpoints

This commit is contained in:
Wofsauge committed 2020-10-26 21:02:16 +01:00
1 parent 6ec7938113
commit daadfa38f1
1 file changed
+1 -1
+1 -1
View File
@@ -277,7 +277,7 @@ end
-- Returns the icon used for the bulletpoint. It will look at the first word in the given string.
function EID:handleBulletpointIcon(text)
local firstWord = string.match(text, "([^%s]+)")
if EID:getIcon(firstWord) ~= nil then
if EID:getIcon(firstWord) ~= EID.InlineIcons["ERROR"] then
return firstWord
end
return "\007"