[PR #3037] [MERGED] Remove duplicated sanitize #16727

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3037
Author: @lunny
Created: 11/30/2017
Status: Merged
Merged: 11/30/2017
Merged by: @lafriks

Base: masterHead: lunny/remove_duplicated_sanitize


📝 Commits (2)

  • db75e40 remove duplicated sanitize
  • 7e7eee1 Merge branch 'master' into lunny/remove_duplicated_sanitize

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 templates/repo/view_file.tmpl (+1 -1)

📄 Description

All markup content has been sanitize via https://github.com/go-gitea/gitea/blob/master/modules/markup/markup.go#L73, and Str2html is also call the same sanitize method. so remove the one on the template.


🔄 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/3037 **Author:** [@lunny](https://github.com/lunny) **Created:** 11/30/2017 **Status:** ✅ Merged **Merged:** 11/30/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `lunny/remove_duplicated_sanitize` --- ### 📝 Commits (2) - [`db75e40`](https://github.com/go-gitea/gitea/commit/db75e409f080a6a405039a4f16517c92182ea3b8) remove duplicated sanitize - [`7e7eee1`](https://github.com/go-gitea/gitea/commit/7e7eee1120462a7626ec485b731c97c0840f4e52) Merge branch 'master' into lunny/remove_duplicated_sanitize ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `templates/repo/view_file.tmpl` (+1 -1) </details> ### 📄 Description All markup content has been sanitize via https://github.com/go-gitea/gitea/blob/master/modules/markup/markup.go#L73, and `Str2html` is also call the same sanitize method. so remove the one on the template. --- <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:17:32 -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#16727