#3822 Attached file rendering -- patches
Closed: Fixed 5 years ago Opened 5 years ago by cipherboy.

When viewing an attachment to an issue that is a .patch, it gets incorrectly rendered in the "marked up" view (non-raw view). In particular, it appears to be rendering them as Markdown files for some reason.

An example is here:

https://pagure.io/jss/issue/15

https://pagure.io/jss/issue/raw/files/4c314579c123be95f3ddd00930c00e5aea4dc94113ff72cb5047fb6dbc15f33a-0001-Address-most-deprecation-warnings.patch

I believe this is different from issue #3437. Clicking raw does give the correct file. Would be nice to get some syntax highlighting on the patch that makes sense and doesn't collapse it to one line. :)

Thanks!


Metadata Update from @pingou:
- Issue set to the milestone: 5.2
- Issue tagged with: UI, bug

5 years ago

Metadata Update from @pingou:
- Issue assigned to pingou

5 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #4034 Merged 5 years ago