-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Make sure sibling images get a link too #14979
Make sure sibling images get a link too #14979
Conversation
Due a problem with the ast.Walker in the our transformer in goldmark an image with a sibling image will not be transformed to gain a parent link. This PR fixes this. Fix go-gitea#12925 Signed-off-by: Andrew Thornton <art27@cantab.net>
Could you add a testcase, I'm struggling to understand what this is for ;) |
Signed-off-by: Andrew Thornton <art27@cantab.net>
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.
thanks :>
testcase is missing a |
weird it worked locally in vscode |
Codecov Report
@@ Coverage Diff @@
## master #14979 +/- ##
=========================================
Coverage ? 42.24%
=========================================
Files ? 774
Lines ? 83008
Branches ? 0
=========================================
Hits ? 35063
Misses ? 42246
Partials ? 5699
Continue to review full report at Codecov.
|
Backport go-gitea#14979 Due a problem with the ast.Walker in the our transformer in goldmark an image with a sibling image will not be transformed to gain a parent link. This PR fixes this. Fix go-gitea#12925 Signed-off-by: Andrew Thornton <art27@cantab.net>
Due a problem with the ast.Walker in the our transformer in goldmark
an image with a sibling image will not be transformed to gain a parent
link. This PR fixes this.
Fix #12925
Signed-off-by: Andrew Thornton art27@cantab.net