-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Remove base64 encoding for text/plain mimetype #177
Conversation
Also "text" and "json" entries are split so that the overlap doesn't bring to either of the two to be hidden. A plain text string is added to the tests and documentation is updated to make sure it is explicitly stated that plain text is NOT encoded any more.
- "var" is substituted by "const" - indentation is made consistent (tabs vs spaces) - doc typos fixes
@wswebcreation I think we should apply the same treatment to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow @BaCaRoZzo
Thanks for all the fixes!
Regarding this
@wswebcreation I think we should apply the same treatment to text/html, i.e. remove the base64 encoding also there. Since I'm not sure what's the feeling about that I left that for the PR discussion. 😄
Yes, please, can you also fix it there?
@wswebcreation done as requested. Also dropped the library in a separate commit since it went unused. |
Thanks @BaCaRoZzo ! |
Fixes #46
The actual fix is in 66de549, the rest are just improvements and minor fixes which, I hope, are welcome as well. 🙂
Regarding the fix itself, it simply removes the encoding for
text/plain
but also reworks a bit the template. Basicallystep.text
andstep.json
were overlapping causing the two to end up in the samediv
. I don't think that was wanted as we have two separateddiv
s forjson
andtext
. Hence, I've made sure to correctly split them.orderCxl
has been added to the tests and it is indeed processed as expected now.