]> source.dussan.org Git - gitea.git/commit
Allows external rendering of other filetypes 2 (#8300)
authorGeorge Harvey <11440490+HarvsG@users.noreply.github.com>
Mon, 21 Oct 2019 06:54:18 +0000 (07:54 +0100)
committerzeripath <art27@cantab.net>
Mon, 21 Oct 2019 06:54:18 +0000 (07:54 +0100)
commit481c66a91f01ebbc3ebecab1c010791e232bb2ca
treea8ee9e2527103400844c63e65815431338ba65b7
parent28f60bb5cb24c71fdbefe16c2d86943fb4cf8a08
Allows external rendering of other filetypes 2 (#8300)

* allow external rendering of other filetypes

fixes #4996 and #7614
allows rendering of non-tex files, or otherwise accounted for filetypes

* Moves flie-size check before read()

And performs gofmt -s

* Only reads if markType is detected
routers/repo/view.go