Skip to content

Commit

Permalink
Merge branch 'main' into web-console/read-only
Browse files Browse the repository at this point in the history
  • Loading branch information
bluestreak01 authored Nov 8, 2023
2 parents 9e84147 + f7a95cf commit b21bb3e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/web-console/src/js/console/grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,13 @@ const hashString = (str) => {

const escapeHtml = (text) => {
const map = {
"&": "&",
"<": "&lt;",
">": "&gt;",
'"': "&quot;",
"'": "&#039;",
}

return text.replace(/[&<>"']/g, (m) => map[m])
return text.replace(/[<>"']/g, (m) => map[m])
}

export function grid(rootElement, _paginationFn, id) {
Expand Down

0 comments on commit b21bb3e

Please sign in to comment.