Skip to content

Commit

Permalink
Default to not allow HTML content in tables
Browse files Browse the repository at this point in the history
  • Loading branch information
Ezra Odio committed Jul 17, 2024
1 parent ebb0e2c commit b89fe21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Object {
"columns": Array [
Object {
"alignContent": "right",
"allowHTML": true,
"allowHTML": false,
"allowSearch": false,
"booleanValues": Array [
"false",
Expand Down Expand Up @@ -39,7 +39,7 @@ Object {
"columns": Array [
Object {
"alignContent": "left",
"allowHTML": true,
"allowHTML": false,
"allowSearch": false,
"booleanValues": Array [
"false",
Expand Down Expand Up @@ -73,7 +73,7 @@ Object {
"columns": Array [
Object {
"alignContent": "left",
"allowHTML": true,
"allowHTML": false,
"allowSearch": false,
"booleanValues": Array [
"false",
Expand Down Expand Up @@ -107,7 +107,7 @@ Object {
"columns": Array [
Object {
"alignContent": "left",
"allowHTML": true,
"allowHTML": false,
"allowSearch": true,
"booleanValues": Array [
"false",
Expand Down Expand Up @@ -141,7 +141,7 @@ Object {
"columns": Array [
Object {
"alignContent": "left",
"allowHTML": true,
"allowHTML": false,
"allowSearch": false,
"booleanValues": Array [
"false",
Expand Down
2 changes: 1 addition & 1 deletion viz-lib/src/visualizations/table/getOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function getDefaultColumnsOptions(columns: any) {
allowSearch: false,
alignContent: getColumnContentAlignment(col.type),
// `string` cell options
allowHTML: true,
allowHTML: false,
highlightLinks: false,
fixed: false,
}));
Expand Down

0 comments on commit b89fe21

Please sign in to comment.