Skip to content

Hard fail on invalid markup with explicit description type #3285

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

Closed
dstufft opened this issue Mar 16, 2018 · 4 comments
Closed

Hard fail on invalid markup with explicit description type #3285

dstufft opened this issue Mar 16, 2018 · 4 comments

Comments

@dstufft
Copy link
Member

dstufft commented Mar 16, 2018

When we're given an explicit description type (Markdown, Rst, etc) we should attempt to render it during upload, and if it's invalid then we should hard fail the upload.

@dstufft dstufft added this to the Cool but not urgent milestone Mar 16, 2018
@di
Copy link
Member

di commented Mar 16, 2018

I think this is only really applicable for reStructuredText, the markdown renderer will always return something even if it's not perfectly valid markdown (or even if it isn't actually markdown all).

@dstufft
Copy link
Member Author

dstufft commented Mar 16, 2018 via email

@konstin
Copy link
Contributor

konstin commented Jun 7, 2018

It would be very valuable if any rendering error would at least be reported in the history tab; Currently it's hard to understand why the project description is suddenly displayed in plain text instead of rst.

@di
Copy link
Member

di commented Mar 25, 2020

Fixed in #5835.

@di di closed this as completed Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants