8,756
edits
m (strip out curlies again) |
mNo edit summary |
||
Line 19: | Line 19: | ||
b = a .. b | b = a .. b | ||
end | end | ||
b = b:gsub("([{}])", "") | b = b:gsub("([{}])", "") | ||
Line 174: | Line 173: | ||
local args = process_args.merge(true) | local args = process_args.merge(true) | ||
if args[1] and args[2] then -- shader template | if args[1] and args[2] then -- shader template | ||
output = applytemplate(args[1], args[2], (args['rasterize'] or 'true')) | output = applytemplate(args[1], normalize(args[2]), (args['rasterize'] or 'true')) | ||
else | else | ||
output = p.shader(args['text'], args['colors'], args['type'], (args['rasterize'] or 'true')) | output = p.shader(normalize(args['text']), args['colors'], args['type'], (args['rasterize'] or 'true')) | ||
end | end | ||