Skip to content

Table could not stringify data that’s already HTML. #133

Open
@mbostock

Description

@mbostock

Currently Table stringifies HTML here:

default: format[column] = stringify; break;

We could change that to allow HTML to be passed through without needing a custom format, say:

function maybeStringify(value) {
  return value instanceof Node ? value : stringify(value);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions