We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b4981f commit c50cfa4Copy full SHA for c50cfa4
richtext/richtext.lua
@@ -47,7 +47,7 @@ end
47
48
49
local function get_font(word, fonts, default_font)
50
- local font_settings = fonts[(word.tags.font or word.font) or default_font]
+ local font_settings = fonts[word.tags.font or word.font or default_font]
51
local font = nil
52
if font_settings then
53
if word.bold and word.italic then
0 commit comments