8,756
edits
mNo edit summary |
mNo edit summary |
||
Line 115: | Line 115: | ||
-- alternation | pattern will stretch to fit word length (?) | -- alternation | pattern will stretch to fit word length (?) | ||
local type = type or 'default' | local type = type or 'default' | ||
local | local brasterize = false | ||
if rasterize == 'true' then | if rasterize == 'true' then | ||
brasterize = true | |||
end | end | ||
local strtbl = strtotbl(text) | local strtbl = strtotbl(text) | ||
Line 152: | Line 152: | ||
hexcolor = colorlist[ci] | hexcolor = colorlist[ci] | ||
end | end | ||
if | if brasterize then | ||
finaltbl[i] = "<span style=\"color: " .. luatable.parse(hexcolor) .. ";\">" .. strtbl[i].. "</span>" | finaltbl[i] = "<span style=\"color: " .. luatable.parse(hexcolor) .. ";\">" .. strtbl[i].. "</span>" | ||
else | else |