Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
schanzer opened this issue Jan 16, 2025 · 0 comments
Open
Assignees

Comments

@schanzer
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant