improve text node xml
This commit is contained in:
@@ -59,7 +59,7 @@ bool LayoutManager::parse(const std::string& xml_string) noexcept
|
||||
{
|
||||
auto old = std::move(m_layouts);
|
||||
|
||||
tinyxml2::XMLDocument xml;
|
||||
tinyxml2::XMLDocument xml(true, tinyxml2::COLLAPSE_WHITESPACE);
|
||||
auto ret = xml.Parse(xml_string.c_str(), xml_string.size());
|
||||
if (ret != tinyxml2::XMLError::XML_SUCCESS)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user