Skip to content

Rules for whitespace in Pyret strings are ignored when displayed in an SVG #573

Open
@schanzer

Description

@schanzer

If a reactor displays an SVG element (as is the case for literally every chart) and the SVG element has a TEXT element within it, that string will be displayed using the browser's default whitespace-collapsing behavior.

This is a problem for charts of ours that include a lot of data in their titles:

Image

We'd like to separate those strings, but adding spaces between them in Pyret doesn't help because of this issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions