mirror of https://github.com/lcpz/lain.git
util.markup: fixed typos
This commit is contained in:
parent
c02fcdb2e9
commit
eb8c113fc8
|
@ -30,12 +30,12 @@ end
|
|||
|
||||
-- Set the foreground
|
||||
function markup.fg.color(color, text)
|
||||
return format("<span foreground='%s'>%s</span>", fg, bg, text)
|
||||
return format("<span foreground='%s'>%s</span>", color, text)
|
||||
end
|
||||
|
||||
-- Set the background
|
||||
function markup.bg.color(color, text)
|
||||
return format("<span background='%s'>%s</span>", fg, bg, text)
|
||||
return format("<span background='%s'>%s</span>", color, text)
|
||||
end
|
||||
|
||||
-- Set foreground and background
|
||||
|
|
2
wiki
2
wiki
|
@ -1 +1 @@
|
|||
Subproject commit 0d9b19badf44b16c27663dd4dc7f49699a51be73
|
||||
Subproject commit 1acb69eb3cf431b9102978c6117144980e8a2939
|
Loading…
Reference in New Issue