Bad things happen if the mulitline function separates a color tag into a new line. Can be avoided with careful word counting but ideally the function accommodates for these tags.
Example:
Comes with an <color=100,255,100>adjustable magnifier</color> for additional zoom, but also introduces <color=255,100,100>additional sway and handling penalities</color> compared to unmagnified optics.
[arc-9] lua/includes/modules/markup.lua:243: attempt to index field 'colour' (a nil value)
1. Draw - lua/includes/modules/markup.lua:243
2. unknown - addons/arc-9/lua/weapons/arc9_base/cl_customize_ui_bottombar.lua:544 (x453)
Bad things happen if the mulitline function separates a color tag into a new line. Can be avoided with careful word counting but ideally the function accommodates for these tags.
Example: