Allow project slugs to break

Ref: ~sircmpwn/sr.ht#245
This commit is contained in:
наб 2020-09-04 16:49:06 +02:00 committed by Drew DeVault
parent ff01082c30
commit c212995eef
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<h2>
<a
href="{{url_for("users.summary_GET", username=owner.username)}}"
>{{owner.canonical_name}}</a>/{{project.name}}
>{{owner.canonical_name}}</a>/<wbr>{{project.name}}
</h2>
{% macro link(path, title, alternates, cls="") %}
<a

View File

@ -5,7 +5,7 @@
<h2>
<a
href="{{url_for("users.summary_GET", username=owner.username)}}"
>{{owner.canonical_name}}</a>/{{project.name}}
>{{owner.canonical_name}}</a>/<wbr>{{project.name}}
</h2>
{% macro link(path, title, alternates, cls="") %}
<a