-
Notifications
You must be signed in to change notification settings - Fork 400
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: add url escaping to markdown processing #1898 #1934
base: master
Are you sure you want to change the base?
fix: add url escaping to markdown processing #1898 #1934
Conversation
49ce70e
to
0a05975
Compare
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.
That should work for now. Thanks!
Can you add a test please? https://github.com/terrastruct/d2/blob/master/d2compiler/compile_test.go
And a line to the changelog: https://github.com/terrastruct/d2/blob/master/ci/release/changelogs/next.md
8de9024
to
617924d
Compare
617924d
to
ea360d9
Compare
Looking at adding a test now, should I be adding a test within the |
@jeengland Yeah that's right
|
Hi @jeengland are you still interested in pursuing this PR? If not I can push to this branch, it's just the test remaining |
Hi @alixander sorry about the delay, I had an uptick in obligations this last few weeks. I'll make this a priority to look at tomorrow! |
Fix for issue #1898
I saw in the issue thread it was suggested to create a goldmark extension, which I'm still open to doing but I wanted to suggest a simpler regex based solution in this PR. Works on the md from the issue as well as a few other test cases: