Hypertext: Fix missing space after single letter word (#14551)

Fixes #11727
This commit is contained in:
rubenwardy 2024-04-16 08:48:16 +01:00 committed by GitHub
parent 38cacfa577
commit b2057a5da7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ local inv_style_fs = [[
list[current_player;main;.5,7;8,4]
]]
local hypertext_basic = [[
local hypertext_basic = [[A hypertext element
<bigger>Normal test</bigger>
This is a normal text.

View File

@ -293,8 +293,8 @@ void ParsedText::pushChar(wchar_t c)
else
return;
} else {
m_empty_paragraph = false;
enterElement(ELEMENT_TEXT);
m_empty_paragraph = false;
}
m_element->text += c;
}