From a13337c26264e0b3269bb15a6ddc5f57de6f33c6 Mon Sep 17 00:00:00 2001 From: Twan van Laarhoven Date: Thu, 14 May 2020 23:16:27 +0200 Subject: [PATCH] Fix #36 --- src/render/text/element.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/render/text/element.cpp b/src/render/text/element.cpp index f9331bc4..c1bde208 100644 --- a/src/render/text/element.cpp +++ b/src/render/text/element.cpp @@ -226,7 +226,9 @@ private: content = String(LEFT_ANGLE_BRACKET) + content + RIGHT_ANGLE_BRACKET; start -= 1; end += 1; - } else if (style.always_symbol && style.symbol_font.valid()) { + } + // render as symbols or as text? + if (style.always_symbol && style.symbol_font.valid()) { // mixed symbols/text, autodetected by symbol font size_t text_pos = 0; size_t pos = 0;