Detect links and render them as HTML links in repo description

This commit is contained in:
Tobias Roeser
2015-10-14 13:17:17 +02:00
parent 4f94ca1384
commit 5a97a518a6
3 changed files with 45 additions and 1 deletions

View File

@@ -104,7 +104,7 @@
<div style="margin-right: @if(expand){180px} else {50px};">
@if(expand){
@repository.repository.description.map { description =>
<p class="description">@description</p>
<p class="description">@detectAndRenderLinks(description)</p>
}
<div style="margin-bottom: 10px;" class="box-content">
<table class="fill-width">