-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
GitLab Enterprise Edition Comment Formatting #315
Comments
I can verify the same issue is happening for us in Gitlab Enterprise integrations. Its causing Atlantis to be unusable and forcing us to downgrade to |
This affects Gitlab versions < 11.1, which use the Redcarpet Markdown engine. Versions >= 11.1 use an extended version of the CommonMark library, which should format the details block correctly. https://docs.gitlab.com/ee/user/markdown.html#details-and-summary |
If you use |
On startup, make a call to the /version endpoint of Gitlab to get which version we're running. Then use that version to determine whether we should use the markdown folding syntax where the code is expandable. Versions of Gitlab < 11.1 don't support the "Common Mark" markdown format. Fixes #315
@kent-b @solidnerd @mechastorm the fix will be in v0.4.12 which should come out any minute now |
User report that code isn't formatted inside the expandable details block.
Version: 10.8.4-ee f80a528
The text was updated successfully, but these errors were encountered: