Hypertext: Fix missing space on paragraphs starting with single letter words

Fixes #11727
This commit is contained in:
rubenwardy 2024-04-15 23:26:54 +01:00
parent 38cacfa577
commit 7e9acbf078
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;
}