Repository navigation
Fixed bug with tag-raw not displaying leading spaces - #347
Merged
Merged
Conversation
instead of escaped markdown in an embed which leads to bugs
Zabuzard
force-pushed
the
bugfix/tag_raw_leading_spaces
branch
from
January 18, 2022 18:04
8e8d1a8 to
b909857
Compare
Member
Author
|
@Tais993 I dont like the |
|
Kudos, SonarCloud Quality Gate passed! |
Zabuzard
enabled auto-merge (rebase)
January 19, 2022 07:36
Member
Unfortunately, there is not |
Tais993
approved these changes
Jan 20, 2022
Tais993
left a comment
Member
There was a problem hiding this comment.
iOS and Android do not have a preview for files, so they'll receive the raw file instead.
Since most (if not all) tags will be viewed, and edited on desktop this solution is fine to me.
Heatmanofurioso
approved these changes
Jan 20, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








Overview
Implements and closes #273 . In a nutshell, the tag-raw command cant display leading zeroes, which is super annoying when working with code, for example:
This is a Discord limitation/feature and cant easily be bypassed or turned off.
The PR fixes the issue by going away from sending escaped embeds and instead sending a plain attachment. Discord doesnt mess with the attachments, so the content is displayed plain as it is.
Which not only fixes the bug, but argueably also looks better.