[PR #2721] [MERGED] Render plain text README.txt monospaced #16556

Closed
opened 2025-11-02 12:13:22 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2721
Author: @jonasfranz
Created: 10/16/2017
Status: Merged
Merged: 10/16/2017
Merged by: @lafriks

Base: masterHead: monospaced-readme-txt


📝 Commits (8)

  • 32f3d8c Render plain text README.txt monospaced
  • acaf4b3 Removing monospaced text at markup READMEs
  • 5aca5a8 Changing order of checking .IsMarkup
  • d5c9771 Adding custom plain-text style
  • 5bb8520 Optimized README renderer
  • 5532db8 Fix spacing
  • fe00f80 Moving IsRenderedHTML to another position
  • 030ae40 Merge branch 'master' into monospaced-readme-txt

📊 Changes

4 files changed (+12 additions, -5 deletions)

View changed files

📝 public/css/index.css (+1 -1)
📝 public/less/_repository.less (+4 -0)
📝 routers/repo/view.go (+3 -2)
📝 templates/repo/view_file.tmpl (+4 -2)

📄 Description

Fixes #2718

Will add <pre>TEXT</pre> at the readme page.

Screenshot

screenshot


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2721 **Author:** [@jonasfranz](https://github.com/jonasfranz) **Created:** 10/16/2017 **Status:** ✅ Merged **Merged:** 10/16/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `monospaced-readme-txt` --- ### 📝 Commits (8) - [`32f3d8c`](https://github.com/go-gitea/gitea/commit/32f3d8cda047c84deb55de310f7171aa7f9810fb) Render plain text README.txt monospaced - [`acaf4b3`](https://github.com/go-gitea/gitea/commit/acaf4b3065422df0c7d075633d6f66dfd9af4779) Removing monospaced text at markup READMEs - [`5aca5a8`](https://github.com/go-gitea/gitea/commit/5aca5a8a3d618630d10272445badcbea5381683f) Changing order of checking .IsMarkup - [`d5c9771`](https://github.com/go-gitea/gitea/commit/d5c97710e2dff5b221bf20123bf76f7d78c44502) Adding custom plain-text style - [`5bb8520`](https://github.com/go-gitea/gitea/commit/5bb85206d35943c9f6e9752c3873716abd5f7c01) Optimized README renderer - [`5532db8`](https://github.com/go-gitea/gitea/commit/5532db8d65d4ae851efa937f6e2beb39ae665331) Fix spacing - [`fe00f80`](https://github.com/go-gitea/gitea/commit/fe00f80b52265965ed9d8de72867ae5dfc82710d) Moving IsRenderedHTML to another position - [`030ae40`](https://github.com/go-gitea/gitea/commit/030ae40c12dffc651fb81ffdca52ed84041aadcf) Merge branch 'master' into monospaced-readme-txt ### 📊 Changes **4 files changed** (+12 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `public/css/index.css` (+1 -1) 📝 `public/less/_repository.less` (+4 -0) 📝 `routers/repo/view.go` (+3 -2) 📝 `templates/repo/view_file.tmpl` (+4 -2) </details> ### 📄 Description Fixes #2718 Will add `<pre>TEXT</pre>` at the readme page. ## Screenshot ![screenshot](https://user-images.githubusercontent.com/5757182/31633912-02844e72-b2c2-11e7-9fba-08eddf2fead7.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:13:22 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16556