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 relative links not working in safe mode (issue #254) #513

Merged
merged 4 commits into from Jun 4, 2023

Conversation

Crozzers
Copy link
Contributor

This PR fixes #254 by cherry-picking commit pknowles/python-markdown2@76c663d and adding a test case for this bug.

I removed the full MIT license text from the original commit, keeping the copyright attributions and a link to the license instead.
For such a small snippet of code, I think this approach is sufficient? In-lining is messy and I'm not sure where else the license would be stored.

Happy to hear feedback on this

pknowles and others added 3 commits May 29, 2023 16:37
copies a url regex from pagedown (used by stackoverflow)
… in favour of link.

Project source, copyright notices and link to license are kept but the
full MIT text was removed
@Crozzers Crozzers force-pushed the fix-rel-links-in-safe-mode branch from 28620bf to 1e828a0 Compare May 29, 2023 16:21
@Crozzers Crozzers force-pushed the fix-rel-links-in-safe-mode branch from 1e828a0 to 4a46040 Compare May 29, 2023 16:23
@nicholasserra
Copy link
Collaborator

LGTM I think that comment block is fine. Thanks!

Prob cut a release next week

@nicholasserra nicholasserra merged commit cef18e1 into trentm:master Jun 4, 2023
18 checks passed
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.

Relative Link Not Working
3 participants