Open tchoutri opened 1 year ago
Is this still an issue? If not I would take a look at trying to fix it.
I believe so!
@LemonjamesD These routes in Hackage API give these resources in their original textual format, but it's only because Hackage can also send the generated HTML:
However some READMEs and CHANGELOGs are in raw text, restructured text, org-mode what have you. Which means we need to check the extension of the name listed in the cabal file to see if it ends with ".md" or ".markdown".
Ah okay, I'll take another look then
We should add a case check on the file name so that we do not attempt to convert to HTML a changelog or readme file whose name ends with ".txt".