mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
[vis] render line breaks in TableViz (#2118)
* convert line breaks to br tags in table vis * use css!
This commit is contained in:
@@ -72,6 +72,9 @@ function tableVis(slice, payload) {
|
||||
if (c === 'timestamp') {
|
||||
val = timestampFormatter(val);
|
||||
}
|
||||
if (typeof(val) === 'string') {
|
||||
val = `<span class="like-pre">${val}</span>`;
|
||||
}
|
||||
return {
|
||||
col: c,
|
||||
val,
|
||||
|
||||
Reference in New Issue
Block a user