~edwargix/git.sr.ht

bfba9e7cd4af67434a12b0396ed6af49edf43d66 — Drew DeVault 5 years ago 4014870
repo: don't print rendered markdown
1 files changed, 0 insertions(+), 1 deletions(-)

M gitsrht/blueprints/repo.py
M gitsrht/blueprints/repo.py => gitsrht/blueprints/repo.py +0 -1
@@ 236,7 236,6 @@ def tree(owner, repo, ref, path):
                        ref=ref, path=os.path.dirname("/".join(path)))
                    md = markdown(data, ["h1", "h2", "h3", "h4", "h5"],
                            link_prefix=[link_prefix, blob_prefix])
                    print(md)
                force_source = "view-source" in request.args
                return render_template("blob.html", view="blob",
                        owner=owner, repo=repo, ref=ref, path=path, entry=entry,