Skip to content

Commit 52727ea

Browse files
author
burdo
committed
trim long strings
1 parent 52f267c commit 52727ea

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/main/java/de/kaleidox/workbench/flk/converter/LineParserEntry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ protected String readString(BetterIterator<String> iter, int lines) {
140140
val.append(current);
141141
iter.next();
142142
} while (i++ < lines);
143-
return val.toString();
143+
return val.toString().trim();
144144
}
145145

146146
@Override

src/main/resources/templates/flkConverter/view.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ <h2>Seriennummer: <span th:text="${result.getDeviceSn()}"></span></h2>
1010
<h1>Tests</h1>
1111
<div class="ui-panel-2" th:each="test: ${result.getTests()}">
1212
<h2 class="ui-collapse-button" th:id="'btn-testBox-'+${test.number}">Test #<span th:text="${test.number}"></span> - Gerät #<span
13-
th:text="${test.applianceNumber}"></span> (<span
14-
th:text="${test.description}"></span>)
13+
th:text="${test.applianceNumber}"></span> (<span th:text="${test.description}"></span>)
1514
</h2>
1615
<div class="ui-collapse" th:id="'testBox-'+${test.number}">
1716
<table>

0 commit comments

Comments
 (0)