Skip to content

Commit c50cfa4

Browse files
committed
Update richtext.lua
1 parent 6b4981f commit c50cfa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

richtext/richtext.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ end
4747

4848

4949
local function get_font(word, fonts, default_font)
50-
local font_settings = fonts[(word.tags.font or word.font) or default_font]
50+
local font_settings = fonts[word.tags.font or word.font or default_font]
5151
local font = nil
5252
if font_settings then
5353
if word.bold and word.italic then

0 commit comments

Comments
 (0)