Fix typo with previous patch
1 files changed, 1 insertions(+), 1 deletions(-) M gitsrht/blueprints/repo.py
M gitsrht/blueprints/repo.py => gitsrht/blueprints/repo.py +1 -1
@@ 57,7 57,7 @@ def get_readme(repo, git_repo, tip, link_prefix=None): def _highlight_file(repo, ref, entry, data, blob_id, commit_id): link_prefix = url_for('repo.tree', owner=repo.owner, repo=repo.name, ref=ref) if blob.filemode == pygit2.GIT_FILEMODE_LINK: if entry.filemode == pygit2.GIT_FILEMODE_LINK: return Markup("<div class=\"highlight\"><pre>" + f"<a href=\"{url_quote(data.encode('utf-8'))}\">" + f"{escape(data)}</a><pre></div>")