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

Add an escape method to the extended string library #169

Open
2 tasks
Duckwhale opened this issue Jan 1, 2023 · 0 comments
Open
2 tasks

Add an escape method to the extended string library #169

Duckwhale opened this issue Jan 1, 2023 · 0 comments

Comments

@Duckwhale
Copy link
Member

Duckwhale commented Jan 1, 2023

Goals:

  • Can print invisible and control characters (for debugging purposes)
  • Failed assertions due to newlines should be immediately apparent (test suite)

What needs to be escaped:

  • Any ASCII or Unicode character below and including 0x20 (whitespace)

This is explicitly NOT intended to escape HTML special characters, prevent code injection/XSS, or similar problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Timeline
Soon™
Development

No branches or pull requests

1 participant