-
-
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
Fix invalid rst
format when alt
or target
is present
#8275
Conversation
Could you elaborate on the problem you're trying to solve with these proposed changes? If you have an example that reproduces the behavior that'd be great |
@calebcartwright I've looked for a test and found none, but I guess I could at least post the output, indeed. The badge generated for fschulze/sqlalchemy_schemadisplay#31 was
And that is rendered as a missing image, because GitHub probably translates it to URL. The correct rST markup.
|
|
@calebcartwright This PR does fix a bug. See https://docutils.sourceforge.io/docs/ref/rst/directives.html#image for the correct RST syntax. @abitrolly The tests for this are in shields/frontend/lib/generate-image-markup.spec.ts Lines 49 to 63 in 7d45247
I've closed and re-opened this to get the CI to run. We do have an issue where sometimes the Circle CI builds don't run for particular PRs - there is some info on this at #8109 I dunno if any of the info in #8109 (comment) are actionable for you. If not, we'll have to do the same again. |
The Anyway, I think I've fixed tests. |
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.
Merging this having pushed 5260a08 - Lets just merge the fix than do another round of back-and-forth over whitespace. Thanks
Forgot Thanks. |
No description provided.