We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a428e6d + 1daec02 commit b0e3039Copy full SHA for b0e3039
core/src/main/java/de/muenchen/allg/itd51/wollmux/ui/HTMLElement.java
@@ -78,7 +78,7 @@ public FontDescriptor getFontDescriptor()
78
{
79
try
80
81
- fontDescriptor.Height = Short.valueOf(o.toString().replaceAll("pt", ""));
+ fontDescriptor.Height = Short.valueOf(o.toString().replaceAll("pt", "").replaceAll(" ", ""));
82
} catch (NumberFormatException ex)
83
84
LOGGER.info("parsing font height failed due number format exception, trying to parse string %s", o.toString());
0 commit comments