Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue #259. Allow links in the repository description #300

Merged
merged 2 commits into from Jul 22, 2014
Merged

Fix issue #259. Allow links in the repository description #300

merged 2 commits into from Jul 22, 2014

Conversation

nussjustin
Copy link
Contributor

This change adds a DescriptionHtml() function to the Repository struct that returns the repositories description with links wrappend in tags, that point to the given link in a new tab. It also updates the template for repositories to show the description with tags.

It doesn't really look at the links at this point, so there could be some problems with malicious links. This should probably not be merged at the moment, but just serve as a place to discuss this feature.

@unknwon
Copy link
Member

unknwon commented Jul 22, 2014

Thanks!

unknwon added a commit that referenced this pull request Jul 22, 2014
Fix issue #259. Allow links in the repository description
@unknwon unknwon merged commit 5bbd5be into gogs:dev Jul 22, 2014
@nussjustin nussjustin deleted the issue/259 branch July 26, 2014 09:31
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants