Sync changes from upstream repository

This commit is contained in:
Bozo the Builder
2026-04-14 07:33:38 -07:00
parent 5bdffa6848
commit 978f14ad68
7 changed files with 102 additions and 30 deletions

View File

@@ -537,6 +537,14 @@ const ON_wString ON_TextContent::Internal_GetPlainText(bool evaluate_fields, boo
map.j = plaintext.Length();
map.k = (int)wcslen(str);
}
// December 3, 2025 - Tim
// Fix for https://mcneel.myjetbrains.com/youtrack/issue/RH-90830
// Add a space before the fraction if is not the first
// chunk of text.
if (0 < ri && nullptr != wcschr(str, '/'))
plaintext += " ";
plaintext += str;
}
}