Skip to content

Commit

Permalink
protect author name against unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed May 23, 2015
1 parent 6ddcd19 commit 8cdd848
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion root/inc/breadcrumbs.html
Expand Up @@ -29,7 +29,7 @@


<div class="breadcrumbs" itemscope itemtype="http://schema.org/SoftwareApplication">
<a data-keyboard-shortcut="g a" rel="author" itemprop="author" itemscope itemtype="http://schema.org/Person" href="/author/<% IF module; module.author; ELSE; release.author; END %>" title="<% author.asciiname %>"><% author.name %></a>
<a data-keyboard-shortcut="g a" rel="author" itemprop="author" itemscope itemtype="http://schema.org/Person" href="/author/<% IF module; module.author; ELSE; release.author; END %>" title="<% author.asciiname %>" class="author-name"><% author.name %></a>
<span>&nbsp;/&nbsp;</span>
<div class="release status-<% release.status %> maturity-<% release.maturity %><% IF mark_unauthorized_releases && NOT release.authorized %> unauthorized<% END %>">
<span class="dropdown"><b class="caret"></b></span>
Expand Down
4 changes: 4 additions & 0 deletions root/static/less/author.less
@@ -1,3 +1,7 @@
.author-name {
display: inline-block;
}

.author-pic {
text-align: center;

Expand Down

0 comments on commit 8cdd848

Please sign in to comment.