Omit space before units starting with a slash.
- VERBESSERUNG: Einheiten, die mit einem Schrägstrich beginnen, werden nicht mehr mit Leerzeichen vom Wert getrennt.
This commit is contained in:
1 parent
221509520d
commit
fbcb060f12
1 file changed
+2
-1
@@ -132,7 +132,8 @@ namespace zaaReloaded2.Formatter
|
||||
string unit;
|
||||
if (LabItem.HasUnit)
|
||||
{
|
||||
unit = String.Format(" {0}", LabItem.Unit);
|
||||
string space = LabItem.Unit.StartsWith("/") ? String.Empty : " ";
|
||||
unit = String.Format("{0}{1}", space, LabItem.Unit);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user