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

Previews: Filename does not respect query string delimiter (?) #29

Open
gonX opened this issue Jan 16, 2024 · 0 comments
Open

Previews: Filename does not respect query string delimiter (?) #29

gonX opened this issue Jan 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gonX
Copy link
Member

gonX commented Jan 16, 2024

For example, the link https://github.com/OpenTabletDriver/OpenTabletDriver/blob/ecc888716fc18329749f7b7d278f2b3b5749ff21/README.md?plain=1#L116 results in:
image

The expected result is that it doesn't contain this line:
image

The issue primarily stems from the fact that Discord will reject invalid languages for codeblocks (e.g. if it contains invalid characters) and instead emit the full string.

@gonX gonX added the bug Something isn't working label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant