aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/docs.py4
-rw-r--r--wqflask/wqflask/views.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/wqflask/wqflask/docs.py b/wqflask/wqflask/docs.py
index d653c269..23fc3cad 100644
--- a/wqflask/wqflask/docs.py
+++ b/wqflask/wqflask/docs.py
@@ -19,8 +19,10 @@ class Docs(object):
self.title = self.entry.capitalize()
self.content = ""
else:
+
self.title = result[0]
- self.content = result[1]
+ self.content = result[1].decode("utf-8")
+
self.editable = "false"
# ZS: Removing option to edit to see if text still gets vandalized
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index b7c4d142..bf2e9026 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -304,8 +304,8 @@ def news():
@app.route("/references")
def references():
doc = Docs("references", request.args)
+ # return render_template("reference.html")
return render_template("docs.html", **doc.__dict__)
- #return render_template("reference.html")
@app.route("/intro")
def intro():