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

fix special characters being removed #4

Merged
merged 7 commits into from
Apr 6, 2022
Merged

fix special characters being removed #4

merged 7 commits into from
Apr 6, 2022

Conversation

dwrolvink
Copy link
Contributor

This aims to solve #2

As it was not clear to me why this was introduced, I cannot be sure that this won't break its intended purpose.
But this code can create a very basic mermaid diagram, and it preserves the special characters.

I made sure it still does the cleaning step on the mermaid block, but it skips removing non-printables when it's outside of a mermaid block.

I'd appreciate it if you could accept this pull request / create your own fix. This package is a really nice drop-in solution for generating mermaid diagrams, and we would like to just include it directly, instead of via a fork.

@oruelle oruelle self-requested a review February 25, 2022 18:02
@dwrolvink
Copy link
Contributor Author

Don't forget to press on merge too :)

@dwrolvink
Copy link
Contributor Author

woops, hold up, my later changes have also been added, we don't want that merged into your repo

@dwrolvink
Copy link
Contributor Author

apologies for the mess/spam, I will never understand why they made git revert work the way it does... sigh

@oruelle
Copy link
Owner

oruelle commented Apr 6, 2022

Thank you, (I was surprised by the February 13 changes, thanks for the revert)

@oruelle oruelle merged commit 692428c into oruelle:master Apr 6, 2022
@Jhidzzo
Copy link

Jhidzzo commented May 10, 2022

Hello @oruelle , would you be so kinda and create a new release for the pip package? I use your extension in a CI/CD pipeline and would like to pull these changes via pip.
Thanks in advance

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

Successfully merging this pull request may close these issues.

None yet

3 participants