Skip to content

Commit

Permalink
fix: sanitize html in strings plugin view
Browse files Browse the repository at this point in the history
  • Loading branch information
jstucke committed Feb 27, 2025
1 parent 1fa86be commit 1ee4f2c
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 1ee4f2c

Please sign in to comment.