Skip to content

Commit

Permalink
fix: sanitize html in strings plugin view (#1352)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstucke authored Feb 28, 2025
1 parent 1fa86be commit c3f2ecc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/analysis/strings/view/printable_strings.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
data-buttons-class="primary"
data-show-toggle="true"
data-show-fullscreen="true"
data-escape="true"
class="table table-bordered table-hover table-sm"
id="stringsTable">
<thead>
Expand Down Expand Up @@ -63,7 +64,7 @@
}

function formatFloat(value) {
return value.toFixed(1);
return parseFloat(value).toFixed(1);
}

function getCellStyle(value, row, index, field) {
Expand Down

0 comments on commit c3f2ecc

Please sign in to comment.